Package org.bouncycastle.asn1.x509
Class AlgorithmIdentifier
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.AlgorithmIdentifier
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmIdentifier
(ASN1ObjectIdentifier algorithm) AlgorithmIdentifier
(ASN1ObjectIdentifier algorithm, ASN1Encodable 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.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
AlgorithmIdentifier
-
AlgorithmIdentifier
-
-
Method Details
-
getInstance
-
getInstance
-
getAlgorithm
-
getParameters
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.AlgorithmIdentifier ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY DEFINED BY algorithm OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-