Interface IASN1Primitive
- All Superinterfaces:
IASN1Encodable
- All Known Subinterfaces:
IASN1BitString, IASN1Enumerated, IASN1GeneralizedTime, IASN1Integer, IASN1ObjectIdentifier, IASN1OctetString, IASN1Sequence, IASN1Set, IASN1TaggedObject, IASN1UTCTime, IDERIA5String, IDERNull, IDEROctetString, IDERSequence, IDERSet, IDERTaggedObject, IPKIFailureInfo, IReasonFlags
- All Known Implementing Classes:
ASN1BitStringBC, ASN1EnumeratedBC, ASN1GeneralizedTimeBC, ASN1IntegerBC, ASN1ObjectIdentifierBC, ASN1OctetStringBC, ASN1PrimitiveBC, ASN1SequenceBC, ASN1SetBC, ASN1TaggedObjectBC, ASN1UTCTimeBC, DERIA5StringBC, DERNullBC, DEROctetStringBC, DERSequenceBC, DERSetBC, DERTaggedObjectBC, PKIFailureInfoBC, ReasonFlagsBC
This interface represents the wrapper for ASN1Primitive that provides the ability
to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Calls actualgetEncodedmethod for the wrapped ASN1Primitive object.byte[]getEncoded(String encoding) Calls actualgetEncodedmethod for the wrapped ASN1Primitive object.Methods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Method Details
-
getEncoded
Calls actualgetEncodedmethod for the wrapped ASN1Primitive object.- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException- on encoding error.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped ASN1Primitive object.- Parameters:
encoding- encoding value- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException- on encoding error.
-