Constructor
new CertificationRequestInfo()
Certification request information shall have ASN.1 type CertificationRequestInfo:
RFC 2986 references http://tools.ietf.org/html/rfc2986
CertificationRequestInfo ::= SEQUENCE {
version INTEGER { v1(0) } (v1,...),
subject Name,
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
attributes [0] Attributes{{ CRIAttributes }}
}
SubjectPublicKeyInfo { ALGORITHM : IOSet} ::= SEQUENCE {
algorithm AlgorithmIdentifier {{IOSet}},
subjectPublicKey BIT STRING
}
PKInfoAlgorithms ALGORITHM ::= {
... -- add any locally defined algorithms here -- }
Attributes { ATTRIBUTE:IOSet } ::= SET OF Attribute{{ IOSet }}
CRIAttributes ATTRIBUTE ::= {
... -- add any locally defined attributes here -- }
Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE {
type ATTRIBUTE.&id({IOSet}),
values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{@type})
}
See GostASN1.CertificationRequest and GostASN1.SubjectPublicKeyInfoRFC 2986 references http://tools.ietf.org/html/rfc2986
Properties:
| Name | Type | Description |
|---|---|---|
version |
number | The version of the encoded request |
subject |
GostASN1.Name | The subject field identifies the entity associated with the public key stored in the subject public key field. |
subject |
GostASN1.SubjectPublicKeyInfo | The public key and identify the algorithm with which the key is used |
attributes |
GostASN1.Attributes | The request attributes |
- 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