org.mozilla.jss.pkcs10
public class CertificationRequestInfo extends Object implements ASN1Value
| Nested Class Summary | |
|---|---|
| static class | CertificationRequestInfo.Template
Template class for decoding a CertificationRequestInfo. |
| Constructor Summary | |
|---|---|
| CertificationRequestInfo(INTEGER version, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, SET attributes)
Creates a CertificationRequestInfo with the required fields. | |
| Method Summary | |
|---|---|
| void | encode(OutputStream ostream) |
| void | encode(Tag implicitTag, OutputStream ostream) |
| SET | getAttributes() |
| Name | getSubject() |
| SubjectPublicKeyInfo | getSubjectPublicKeyInfo() |
| Tag | getTag() |
| static CertificationRequestInfo.Template | getTemplate() |
| INTEGER | getVersion() |
| void | print(PrintStream ps) |
| void | setAttributes(SET attributes) |
| void | setSubject(Name subject) |
| void | setSubjectPublicKeyInfo(SubjectPublicKeyInfo subjectPublicKeyInfo) |
| void | setSubjectPublicKeyInfo(PublicKey pubk)
Extracts the SubjectPublicKeyInfo from the given public key and
stores it in the CertificationRequestInfo.
|
| void | setVersion(INTEGER version) |
Throws: InvalidBERException If an error occurs decoding the the information extracted from the public key.