public class CertificationRequest
extends org.bouncycastle.asn1.ASN1Object
CertificationRequest ::= SEQUENCE { certificationRequestInfo SEQUENCE { version INTEGER, subject Name, subjectPublicKeyInfo SEQUENCE { algorithm AlgorithmIdentifier, subjectPublicKey BIT STRING }, attributes [0] IMPLICIT SET OF Attribute }, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING }
Constructor and Description |
---|
CertificationRequest(org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.AlgorithmIdentifier subjectPublicAlgorithm,
org.bouncycastle.asn1.ASN1BitString subjectPublicKey,
org.bouncycastle.asn1.ASN1Set attributes,
org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm,
org.bouncycastle.asn1.ASN1BitString signature) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1Set |
getAttributes() |
static CertificationRequest |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.ASN1BitString |
getSignature() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getSignatureAlgorithm() |
org.bouncycastle.asn1.x500.X500Name |
getSubject() |
org.bouncycastle.asn1.ASN1BitString |
getSubjectPublicKey() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getSubjectPublicKeyAlgorithm() |
java.math.BigInteger |
getVersion() |
org.bouncycastle.asn1.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.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public CertificationRequest(org.bouncycastle.asn1.x500.X500Name subject, org.bouncycastle.asn1.x509.AlgorithmIdentifier subjectPublicAlgorithm, org.bouncycastle.asn1.ASN1BitString subjectPublicKey, org.bouncycastle.asn1.ASN1Set attributes, org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm, org.bouncycastle.asn1.ASN1BitString signature)
public static CertificationRequest getInstance(java.lang.Object o)
public java.math.BigInteger getVersion()
public org.bouncycastle.asn1.x500.X500Name getSubject()
public org.bouncycastle.asn1.ASN1Set getAttributes()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSubjectPublicKeyAlgorithm()
public org.bouncycastle.asn1.ASN1BitString getSubjectPublicKey()
public org.bouncycastle.asn1.ASN1Primitive parsePublicKey() throws java.io.IOException
java.io.IOException
- - if the bit string doesn't represent a DER encoded object.public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm()
public org.bouncycastle.asn1.ASN1BitString getSignature()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object