Package org.gudy.bouncycastle.asn1.pkcs
Class CertificationRequestInfo
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.pkcs.CertificationRequestInfo
-
- All Implemented Interfaces:
DEREncodable
public class CertificationRequestInfo extends java.lang.Object implements DEREncodable
PKCS10 CertificationRequestInfo object.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}) }
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ASN1Set
attributes
(package private) X509Name
subject
(package private) SubjectPublicKeyInfo
subjectPKInfo
(package private) DERInteger
version
-
Constructor Summary
Constructors Constructor Description CertificationRequestInfo(ASN1Sequence seq)
CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1Set
getAttributes()
DERObject
getDERObject()
static CertificationRequestInfo
getInstance(java.lang.Object obj)
X509Name
getSubject()
SubjectPublicKeyInfo
getSubjectPublicKeyInfo()
DERInteger
getVersion()
-
-
-
Field Detail
-
version
DERInteger version
-
subject
X509Name subject
-
subjectPKInfo
SubjectPublicKeyInfo subjectPKInfo
-
attributes
ASN1Set attributes
-
-
Constructor Detail
-
CertificationRequestInfo
public CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes)
-
CertificationRequestInfo
public CertificationRequestInfo(ASN1Sequence seq)
-
-
Method Detail
-
getInstance
public static CertificationRequestInfo getInstance(java.lang.Object obj)
-
getVersion
public DERInteger getVersion()
-
getSubject
public X509Name getSubject()
-
getSubjectPublicKeyInfo
public SubjectPublicKeyInfo getSubjectPublicKeyInfo()
-
getAttributes
public ASN1Set getAttributes()
-
getDERObject
public DERObject getDERObject()
- Specified by:
getDERObject
in interfaceDEREncodable
-
-