Constructor
new SubjectPublicKeyInfo()
Subject Public Key Info Syntax X.509
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING }
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL }
-- contains a value of the type
-- registered for use with the
-- algorithm object identifier value
RFC 5280 references http://tools.ietf.org/html/rfc5280
Properties:
| Name | Type | Description |
|---|---|---|
algorithm |
AlgorithmIdentifier | Identifies the public-key algorithm. |
subjectPublicKey |
CryptoOperationData | An binary data whose contents are the value of the public key |
- Source:
Extends
Methods
-
check()
-
Check the object structure
- Inherited From:
- Source:
-
decode(source)
-
Decode the source to self object
Parameters:
Name Type Description sourceFormatedData Encoded data - Inherited From:
- Source:
-
encode(format) → {FormatedData}
-
Encode the object
Parameters:
Name Type Description formatstring Encoding format 'DER', 'CER' or 'PEM' - Inherited From:
- Source:
Returns:
- Type
- FormatedData