Package org.cryptacular.asn
Interface ASN1Decoder<T>
- Type Parameters:
T
- Type of object to produce on decode.
- All Known Implementing Classes:
AbstractPrivateKeyDecoder
,OpenSSLPrivateKeyDecoder
,PKCS8PrivateKeyDecoder
,PublicKeyDecoder
public interface ASN1Decoder<T>
Strategy interface for converting encoded ASN.1 bytes to an object.
- Author:
- Middleware Services
-
Method Summary
-
Method Details
-
decode
Produces an object from an encoded representation.- Parameters:
encoded
- ASN.1 encoded data.args
- Additional data required to perform decoding.- Returns:
- Decoded object.
- Throws:
EncodingException
- on encoding errors.
-