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