public class OriginatorPublicKey extends ASN1Encodable
BER, DER| Constructor and Description |
|---|
OriginatorPublicKey(AlgorithmIdentifier algorithm,
byte[] publicKey) |
OriginatorPublicKey(ASN1Sequence seq) |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getAlgorithm() |
static OriginatorPublicKey |
getInstance(ASN1TaggedObject obj,
boolean explicit)
return an OriginatorPublicKey object from a tagged object.
|
static OriginatorPublicKey |
getInstance(Object obj)
return an OriginatorPublicKey object from the given object.
|
DERBitString |
getPublicKey() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic OriginatorPublicKey(AlgorithmIdentifier algorithm, byte[] publicKey)
public OriginatorPublicKey(ASN1Sequence seq)
public static OriginatorPublicKey getInstance(ASN1TaggedObject obj, boolean explicit)
obj - the tagged object holding the object we want.explicit - true if the object is meant to be explicitly
tagged false otherwise.IllegalArgumentException - if the object held by the
tagged object cannot be converted.public static OriginatorPublicKey getInstance(Object obj)
obj - the object we want converted.IllegalArgumentException - if the object cannot be converted.public AlgorithmIdentifier getAlgorithm()
public DERBitString getPublicKey()
public DERObject toASN1Object()
OriginatorPublicKey ::= SEQUENCE {
algorithm AlgorithmIdentifier,
publicKey BIT STRING
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.