Class AlgorithmIdentifier
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.AlgorithmIdentifier
- All Implemented Interfaces:
DEREncodable
- Direct Known Subclasses:
EncryptionScheme, KeyDerivationFunc, PBES2Algorithms
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DERObjectIdentifierprivate DEREncodableprivate booleanFields inherited from class ASN1Encodable
BER, DER -
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmIdentifier(String objectId) AlgorithmIdentifier(DERObjectIdentifier objectId) AlgorithmIdentifier(DERObjectIdentifier objectId, DEREncodable parameters) -
Method Summary
Modifier and TypeMethodDescriptionstatic AlgorithmIdentifiergetInstance(Object obj) static AlgorithmIdentifiergetInstance(ASN1TaggedObject obj, boolean explicit) Produce an object suitable for an ASN1OutputStream.Methods inherited from class ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
objectId
-
parameters
-
parametersDefined
private boolean parametersDefined
-
-
Constructor Details
-
AlgorithmIdentifier
-
AlgorithmIdentifier
-
AlgorithmIdentifier
-
AlgorithmIdentifier
-
-
Method Details
-
getInstance
-
getInstance
-
getObjectId
-
getParameters
-
toASN1Object
Produce an object suitable for an ASN1OutputStream.AlgorithmIdentifier ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY DEFINED BY algorithm OPTIONAL }- Specified by:
toASN1Objectin classASN1Encodable
-