org.bouncycastle.asn1.x509
Class AlgorithmIdentifier
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.x509.AlgorithmIdentifier
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class AlgorithmIdentifier
- extends ASN1Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AlgorithmIdentifier
public AlgorithmIdentifier(ASN1ObjectIdentifier algorithm)
AlgorithmIdentifier
public AlgorithmIdentifier(ASN1ObjectIdentifier algorithm,
ASN1Encodable parameters)
getInstance
public static AlgorithmIdentifier getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static AlgorithmIdentifier getInstance(java.lang.Object obj)
getAlgorithm
public ASN1ObjectIdentifier getAlgorithm()
getParameters
public ASN1Encodable getParameters()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Produce an object suitable for an ASN1OutputStream.
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL }
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.