public final class SubjectPublicKeyInfo extends Object
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING
}
| Modifier and Type | Field and Description |
|---|---|
static ASN1Sequence |
ASN1 |
| Constructor and Description |
|---|
SubjectPublicKeyInfo(AlgorithmIdentifier algID,
byte[] subjectPublicKey) |
SubjectPublicKeyInfo(AlgorithmIdentifier algID,
byte[] subjectPublicKey,
int unused) |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getAlgorithmIdentifier()
Returns the value of algorithmIdentifier field of the structure.
|
byte[] |
getEncoded()
Returns ASN.1 encoded form of this X.509 SubjectPublicKeyInfo value.
|
PublicKey |
getPublicKey()
Returns the PublicKey corresponding to this SubjectPublicKeyInfo
instance.
|
byte[] |
getSubjectPublicKey()
Returns the value of subjectPublicKey field of the structure.
|
public static final ASN1Sequence ASN1
public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] subjectPublicKey)
public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] subjectPublicKey, int unused)
public AlgorithmIdentifier getAlgorithmIdentifier()
public byte[] getSubjectPublicKey()
public byte[] getEncoded()
public PublicKey getPublicKey()