Bouncy Castle Cryptography 1.11 API Specification: Class CertificationRequestInfo
Bouncy Castle Cryptography 1.11

org.bouncycastle.asn1.pkcs
Class CertificationRequestInfo

java.lang.Object
  |
  +--org.bouncycastle.asn1.pkcs.CertificationRequestInfo
All Implemented Interfaces:
DEREncodable

public class CertificationRequestInfo
extends java.lang.Object
implements DEREncodable

PKCS10

  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})
  }
 


Constructor Summary
CertificationRequestInfo(DERConstructedSequence seq)
           
CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, DERConstructedSet attributes)
           
 
Method Summary
 DERConstructedSet getAttributes()
           
 DERObject getDERObject()
           
 X509Name getSubject()
           
 SubjectPublicKeyInfo getSubjectPublicKeyInfo()
           
 DERInteger getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificationRequestInfo

public CertificationRequestInfo(X509Name subject,
                                SubjectPublicKeyInfo pkInfo,
                                DERConstructedSet attributes)

CertificationRequestInfo

public CertificationRequestInfo(DERConstructedSequence seq)
Method Detail

getVersion

public DERInteger getVersion()

getSubject

public X509Name getSubject()

getSubjectPublicKeyInfo

public SubjectPublicKeyInfo getSubjectPublicKeyInfo()

getAttributes

public DERConstructedSet getAttributes()

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable

Bouncy Castle Cryptography 1.11