| java.lang.Object org.apache.harmony.security.x509.SubjectPublicKeyInfo
SubjectPublicKeyInfo | public class SubjectPublicKeyInfo (Code) | | The class encapsulates the ASN.1 DER encoding/decoding work
with the following structure which is a part of X.509 certificate
(as specified in RFC 3280 -
Internet X.509 Public Key Infrastructure.
Certificate and Certificate Revocation List (CRL) Profile.
http://www.ietf.org/rfc/rfc3280.txt):
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING
}
|
SubjectPublicKeyInfo | public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] subjectPublicKey)(Code) | | TODO
algID: AlgorithmIdentifier subjectPublicKey: byte[] |
SubjectPublicKeyInfo | public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] subjectPublicKey, int unused)(Code) | | TODO
algID: AlgorithmIdentifier subjectPublicKey: byte[] unused: int |
getAlgorithmIdentifier | public AlgorithmIdentifier getAlgorithmIdentifier()(Code) | | Returns the value of algorithmIdentifier field of the structure.
algorithmIdentifier |
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this X.509 SubjectPublicKeyInfo value.
a byte array containing ASN.1 encode form. |
getPublicKey | public PublicKey getPublicKey()(Code) | | Returns The PublicKey corresponding to this SubjectPublicKeyInfo
instance.
public key corresponding to this SubjectPublicKeyInfo. |
getSubjectPublicKey | public byte[] getSubjectPublicKey()(Code) | | Returns the value of subjectPublicKey field of the structure.
subjectPublicKey |
getUnusedBits | public int getUnusedBits()(Code) | | Returns the value of unusedBits field of the structure.
unusedBits |
|
|