Package org.gudy.bouncycastle.asn1.x509
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 DERObjectIdentifier
private DEREncodable
private boolean
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmIdentifier
(String objectId) AlgorithmIdentifier
(DERObjectIdentifier objectId) AlgorithmIdentifier
(DERObjectIdentifier objectId, DEREncodable parameters) -
Method Summary
Modifier and TypeMethodDescriptionstatic AlgorithmIdentifier
getInstance
(Object obj) static AlgorithmIdentifier
getInstance
(ASN1TaggedObject obj, boolean explicit) Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.gudy.bouncycastle.asn1.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:
toASN1Object
in classASN1Encodable
-