public class AlgorithmIdentifier extends ASN1Encodable
BER, DER
Constructor and Description |
---|
AlgorithmIdentifier(ASN1Sequence seq) |
AlgorithmIdentifier(DERObjectIdentifier objectId) |
AlgorithmIdentifier(DERObjectIdentifier objectId,
DEREncodable parameters) |
AlgorithmIdentifier(String objectId) |
Modifier and Type | Method and Description |
---|---|
ASN1ObjectIdentifier |
getAlgorithm() |
static AlgorithmIdentifier |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static AlgorithmIdentifier |
getInstance(Object obj) |
DERObjectIdentifier |
getObjectId()
Deprecated.
use getAlgorithm
|
DEREncodable |
getParameters() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public AlgorithmIdentifier(DERObjectIdentifier objectId)
public AlgorithmIdentifier(String objectId)
public AlgorithmIdentifier(DERObjectIdentifier objectId, DEREncodable parameters)
public AlgorithmIdentifier(ASN1Sequence seq)
public static AlgorithmIdentifier getInstance(ASN1TaggedObject obj, boolean explicit)
public static AlgorithmIdentifier getInstance(Object obj)
public ASN1ObjectIdentifier getAlgorithm()
public DERObjectIdentifier getObjectId()
public DEREncodable getParameters()
public DERObject toASN1Object()
AlgorithmIdentifier ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY DEFINED BY algorithm OPTIONAL }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.