Class AlgorithmIdentifier
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class AlgorithmIdentifier extends ASN1Object
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1ObjectIdentifier
algorithm
public ASN1Encodable
parameters
-
Constructor Summary
Constructors Constructor Description AlgorithmIdentifier(ASN1ObjectIdentifier algorithm)
AlgorithmIdentifier(ASN1ObjectIdentifier algorithm, ASN1Encodable parameters)
-
Method Summary
Modifier and Type Method Description ASN1ObjectIdentifier
getAlgorithm()
ASN1Encodable
getParameters()
static AlgorithmIdentifier
getInstance(ASN1TaggedObject obj, boolean explicit)
static AlgorithmIdentifier
getInstance(Object obj)
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
-
Constructor Detail
-
AlgorithmIdentifier
AlgorithmIdentifier(ASN1ObjectIdentifier algorithm)
-
AlgorithmIdentifier
AlgorithmIdentifier(ASN1ObjectIdentifier algorithm, ASN1Encodable parameters)
-
-
Method Detail
-
getAlgorithm
ASN1ObjectIdentifier getAlgorithm()
-
getParameters
ASN1Encodable getParameters()
-
getInstance
static AlgorithmIdentifier getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static AlgorithmIdentifier getInstance(Object obj)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
AlgorithmIdentifier ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY DEFINED BY algorithm OPTIONAL }
-
-
-
-