public class OriginatorPublicKey extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private AlgorithmIdentifier |
algorithm |
private DERBitString |
publicKey |
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(java.lang.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, hashCodeprivate AlgorithmIdentifier algorithm
private DERBitString publicKey
public 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.java.lang.IllegalArgumentException - if the object held by the
tagged object cannot be converted.public static OriginatorPublicKey getInstance(java.lang.Object obj)
obj - the object we want converted.java.lang.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 © 1998-2014 Gamma Technologies. All Rights Reserved.