public class AlgorithmIdentifier extends ASN1Object
Constructor and Description |
---|
AlgorithmIdentifier(ASN1ObjectIdentifier objectId) |
AlgorithmIdentifier(ASN1ObjectIdentifier objectId,
ASN1Encodable parameters) |
AlgorithmIdentifier(ASN1Sequence seq)
Deprecated.
use AlgorithmIdentifier.getInstance()
|
AlgorithmIdentifier(String objectId)
Deprecated.
use ASN1ObjectIdentifier
|
Modifier and Type | Method and Description |
---|---|
ASN1ObjectIdentifier |
getAlgorithm() |
static AlgorithmIdentifier |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static AlgorithmIdentifier |
getInstance(Object obj) |
ASN1ObjectIdentifier |
getObjectId()
Deprecated.
use getAlgorithm
|
ASN1Encodable |
getParameters() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public AlgorithmIdentifier(ASN1ObjectIdentifier objectId)
public AlgorithmIdentifier(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(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 ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2016 BouncyCastle.org. All rights reserved.