public class KeySpecificInfo extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private ASN1ObjectIdentifier |
algorithm |
private ASN1OctetString |
counter |
Constructor and Description |
---|
KeySpecificInfo(ASN1ObjectIdentifier algorithm,
ASN1OctetString counter) |
KeySpecificInfo(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
ASN1ObjectIdentifier |
getAlgorithm() |
ASN1OctetString |
getCounter() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private ASN1ObjectIdentifier algorithm
private ASN1OctetString counter
public KeySpecificInfo(ASN1ObjectIdentifier algorithm, ASN1OctetString counter)
public KeySpecificInfo(ASN1Sequence seq)
public ASN1ObjectIdentifier getAlgorithm()
public ASN1OctetString getCounter()
public ASN1Primitive toASN1Primitive()
KeySpecificInfo ::= SEQUENCE { algorithm OBJECT IDENTIFIER, counter OCTET STRING SIZE (4..4) }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object