ASN1Encodable
, Encodable
public class AlgorithmIdentifier extends ASN1Object
Constructor | Description |
---|---|
AlgorithmIdentifier(ASN1ObjectIdentifier algorithm) |
|
AlgorithmIdentifier(ASN1ObjectIdentifier algorithm,
ASN1Encodable parameters) |
Modifier and Type | Method | Description |
---|---|---|
ASN1ObjectIdentifier |
getAlgorithm() |
|
static AlgorithmIdentifier |
getInstance(java.lang.Object obj) |
|
static AlgorithmIdentifier |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
|
ASN1ObjectIdentifier |
getObjectId() |
Deprecated.
|
ASN1Encodable |
getParameters() |
|
ASN1Primitive |
toASN1Primitive() |
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public AlgorithmIdentifier(ASN1ObjectIdentifier algorithm)
public AlgorithmIdentifier(ASN1ObjectIdentifier algorithm, ASN1Encodable parameters)
public static AlgorithmIdentifier getInstance(ASN1TaggedObject obj, boolean explicit)
public static AlgorithmIdentifier getInstance(java.lang.Object obj)
public ASN1ObjectIdentifier getAlgorithm()
@Deprecated public ASN1ObjectIdentifier getObjectId()
public ASN1Encodable getParameters()
public ASN1Primitive toASN1Primitive()
AlgorithmIdentifier ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY DEFINED BY algorithm OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object