CertificationRequestInfo ::= SEQUENCE {
version INTEGER { v1(0) } (v1,...),
subject Name,
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
attributes [0] Attributes{{ CRIAttributes }}
}
Attributes { ATTRIBUTE:IOSet } ::= SET OF Attribute{{ IOSet }}
Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE {
type ATTRIBUTE.&id({IOSet}),
values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{\@type})
}
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ASN1Set | |
| pack-priv X500Name | |
| pack-priv SubjectPublicKeyInfo | |
| pack-priv ASN1Integer |
| Access | Constructor and Description |
|---|---|
| public | CertificationRequestInfo(X500Name
subject to be associated with the public key subject, SubjectPublicKeyInfo public key to be associated with subject pkInfo, ASN1Set any attributes to be associated with the request. attributes)Basic constructor. |
| public | CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes)
Deprecated
use X500Name method.
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ASN1Set | |
| public static CertificationRequestInfo | |
| public X500Name | |
| public SubjectPublicKeyInfo | |
| public ASN1Integer | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Method providing a primitive representation of this object suitable for encoding. |
| private static void |
| attributes | back to summary |
|---|---|
| pack-priv ASN1Set attributes | |
| subject | back to summary |
|---|---|
| pack-priv X500Name subject | |
| subjectPKInfo | back to summary |
|---|---|
| pack-priv SubjectPublicKeyInfo subjectPKInfo | |
| version | back to summary |
|---|---|
| pack-priv ASN1Integer version | |
| CertificationRequestInfo | back to summary |
|---|---|
| public CertificationRequestInfo(X500Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes) Basic constructor. Note Early on a lot of CAs would only accept messages with attributes missing. As the ASN.1 def shows the attributes field is not optional so should always at least contain an empty set. If a fully compliant request is required, pass in an empty set, the class will otherwise interpret a null as it should encode the request with the field missing.
| |
| CertificationRequestInfo | back to summary |
|---|---|
| public CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes)
Deprecated use X500Name method. | |
| CertificationRequestInfo | back to summary |
|---|---|
| private CertificationRequestInfo(ASN1Sequence seq) | |
| getAttributes | back to summary |
|---|---|
| public ASN1Set getAttributes() | |
| getInstance | back to summary |
|---|---|
| public static CertificationRequestInfo getInstance(Object obj) | |
| getSubject | back to summary |
|---|---|
| public X500Name getSubject() | |
| getSubjectPublicKeyInfo | back to summary |
|---|---|
| public SubjectPublicKeyInfo getSubjectPublicKeyInfo() | |
| getVersion | back to summary |
|---|---|
| public ASN1Integer getVersion() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |
| validateAttributes | back to summary |
|---|---|
| private static void validateAttributes(ASN1Set attributes) | |