![]() |
|
Contents |
Its ASN notation is as follows:
CertificationRequest ::= SEQUENCE { certificationRequestInfo CertificationRequestInfo, signatureAlgorithm SignatureAlgorithmIdentifier, signature Signature }
SignatureAlgorithmIdentifier ::= AlgorithmIdentifier
Signature ::= BIT STRING
Public Member Functions | |
| CertificationRequest (CertificationRequestInfo info, AlgorithmIdentifier algId, byte[] signature) | |
| AlgorithmIdentifier | getAlgId () |
| CertificationRequestInfo | getInfo () |
| byte[] | getSignature () |
| byte[] | getEncoded () |
| Returns ASN.1 encoded form of this CertificationRequest value. | |
Static Public Attributes | |
| static final ASN1Sequence | ASN1 |
Private Member Functions | |
| CertificationRequest (CertificationRequestInfo info, AlgorithmIdentifier algId, byte[] signature, byte[] encoding) | |
Private Attributes | |
| CertificationRequestInfo | info |
| AlgorithmIdentifier | algId |
| byte[] | signature |
| byte[] | encoding |
| CertificationRequest | ( | CertificationRequestInfo | info, | |
| AlgorithmIdentifier | algId, | |||
| byte[] | signature | |||
| ) |
| CertificationRequest | ( | CertificationRequestInfo | info, | |
| AlgorithmIdentifier | algId, | |||
| byte[] | signature, | |||
| byte[] | encoding | |||
| ) | [private] |
| AlgorithmIdentifier getAlgId | ( | ) |
| CertificationRequestInfo getInfo | ( | ) |
| byte [] getSignature | ( | ) |
| byte [] getEncoded | ( | ) |
Returns ASN.1 encoded form of this CertificationRequest value.
CertificationRequestInfo info [private] |
AlgorithmIdentifier algId [private] |
byte [] signature [private] |
byte [] encoding [private] |
final ASN1Sequence ASN1 [static] |
Initial value:
new ASN1Sequence(new ASN1Type[] { CertificationRequestInfo.ASN1, // info AlgorithmIdentifier.ASN1, // signatureAlgorithm ASN1BitString.getInstance() }) { public Object getDecodedObject(BerInputStream in) { Object[] values = (Object[]) in.content; return new CertificationRequest( (CertificationRequestInfo) values[0], (AlgorithmIdentifier) values[1], ((BitString) values[2]).bytes, in.getEncoded()); } protected void getValues(Object object, Object[] values) { CertificationRequest certReq = (CertificationRequest) object; values[0] = certReq.info; values[1] = certReq.algId; values[2] = new BitString(certReq.signature, 0); } }