public class CertificationRequest
extends ASN1Object
| Constructor and Description |
|---|
CertificationRequest(X500Name subject,
AlgorithmIdentifier subjectPublicAlgorithm,
ASN1BitString subjectPublicKey,
ASN1Set attributes,
AlgorithmIdentifier signatureAlgorithm,
ASN1BitString signature) |
| Modifier and Type | Method and Description |
|---|---|
ASN1Set |
getAttributes() |
static CertificationRequest |
getInstance(java.lang.Object o) |
ASN1BitString |
getSignature() |
AlgorithmIdentifier |
getSignatureAlgorithm() |
X500Name |
getSubject() |
ASN1BitString |
getSubjectPublicKey() |
AlgorithmIdentifier |
getSubjectPublicKeyAlgorithm() |
java.math.BigInteger |
getVersion() |
ASN1Primitive |
parsePublicKey()
If the public key is an encoded object this will return the ASN.1 primitives encoded - if the bitstring
can't be decoded this routine throws an IOException.
|
ASN1Primitive |
toASN1Primitive() |
public CertificationRequest(X500Name subject,
AlgorithmIdentifier subjectPublicAlgorithm,
ASN1BitString subjectPublicKey,
ASN1Set attributes,
AlgorithmIdentifier signatureAlgorithm,
ASN1BitString signature)
public static CertificationRequest getInstance(java.lang.Object o)
public java.math.BigInteger getVersion()
public X500Name getSubject()
public ASN1Set getAttributes()
public AlgorithmIdentifier getSubjectPublicKeyAlgorithm()
public ASN1BitString getSubjectPublicKey()
public ASN1Primitive parsePublicKey()
throws java.io.IOException
java.io.IOException - - if the bit string doesn't represent a DER encoded object.public AlgorithmIdentifier getSignatureAlgorithm()
public ASN1BitString getSignature()
public ASN1Primitive toASN1Primitive()