| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CertificationRequestInfo.Template
Template class for decoding a CertificationRequestInfo. 
 | 
| Constructor and Description | 
|---|
CertificationRequestInfo(INTEGER version,
                        Name subject,
                        SubjectPublicKeyInfo subjectPublicKeyInfo,
                        SET attributes)
Creates a CertificationRequestInfo with the required fields. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
        its own base tag. 
 | 
void | 
encode(Tag implicitTag,
      java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
 an implicit tag. 
 | 
SET | 
getAttributes()  | 
Name | 
getSubject()  | 
SubjectPublicKeyInfo | 
getSubjectPublicKeyInfo()  | 
Tag | 
getTag()
Returns the base tag for this type, not counting any tags
 that may be imposed on it by its context. 
 | 
static CertificationRequestInfo.Template | 
getTemplate()  | 
INTEGER | 
getVersion()  | 
void | 
print(java.io.PrintStream ps)  | 
void | 
setAttributes(SET attributes)  | 
void | 
setSubject(Name subject)  | 
void | 
setSubjectPublicKeyInfo(java.security.PublicKey pubk)
Extracts the SubjectPublicKeyInfo from the given public key and
 stores it in the CertificationRequestInfo. 
 | 
void | 
setSubjectPublicKeyInfo(SubjectPublicKeyInfo subjectPublicKeyInfo)  | 
void | 
setVersion(INTEGER version)  | 
public CertificationRequestInfo(INTEGER version, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, SET attributes)
public void setVersion(INTEGER version)
public INTEGER getVersion()
public void setSubject(Name subject)
public Name getSubject()
public void setSubjectPublicKeyInfo(SubjectPublicKeyInfo subjectPublicKeyInfo)
public void setSubjectPublicKeyInfo(java.security.PublicKey pubk)
                             throws InvalidBERException,
                                    java.io.IOException
InvalidBERException - If an error occurs decoding the
      the information extracted from the public key.java.io.IOExceptionpublic SubjectPublicKeyInfo getSubjectPublicKeyInfo()
public void setAttributes(SET attributes)
public SET getAttributes()
public Tag getTag()
ASN1Valuepublic void encode(java.io.OutputStream ostream)
            throws java.io.IOException
ASN1Valuepublic void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Valuepublic static CertificationRequestInfo.Template getTemplate()
public void print(java.io.PrintStream ps)
           throws java.io.IOException,
                  InvalidBERException
java.io.IOExceptionInvalidBERException