final class CertificationRequestInfo
extends mybouncycastle.org.bouncycastle.asn1.DERSequence
CertificationRequestInfo ::= SEQUENCE { version Version, subject Name, subjectPublicKeyInfo SubjectPublicKeyInfo, attributes [0] IMPLICIT Attributes } Version ::= INTEGER Attributes ::= SET OF Attribute
http://www.faqs.org/rfcs/rfc2314.html
Modifier and Type | Field and Description |
---|---|
private MyX509Extensions |
m_extensions |
private IMyPublicKey |
m_publicKey |
private X509DistinguishedName |
m_subject |
Constructor and Description |
---|
CertificationRequestInfo(mybouncycastle.org.bouncycastle.asn1.ASN1Sequence a_sequence)
Creates a CertificationRequestInfo from a BouncyCastle ASN1Sequence.
|
CertificationRequestInfo(X509DistinguishedName a_subject,
IMyPublicKey a_publicKey,
MyX509Extensions a_extensions)
Creates a new CertificationRequestInfo from a distinguished name (DN), a
public key and X509 V3 extensions.
|
Modifier and Type | Method and Description |
---|---|
private static mybouncycastle.org.bouncycastle.asn1.ASN1EncodableVector |
createRequestInfo(mybouncycastle.org.bouncycastle.asn1.ASN1Integer a_version,
mybouncycastle.org.bouncycastle.asn1.x500.X500Name a_subject,
mybouncycastle.org.bouncycastle.asn1.x509.SubjectPublicKeyInfo a_subjectPublicKeyInfo,
MyX509Extensions a_extensions) |
private static mybouncycastle.org.bouncycastle.asn1.ASN1EncodableVector |
createRequestInfo(mybouncycastle.org.bouncycastle.asn1.ASN1Sequence a_sequence) |
MyX509Extensions |
getExtensions()
Returns the extensions contained in this request info.
|
IMyPublicKey |
getPublicKey()
Returns the public key used in this request.
|
X509DistinguishedName |
getX509DistinguishedName()
Get the X509 name that has been provided for this certification request.
|
getInstance, getInstance, getObjectAt, getObjects, hashCode, iterator, parser, size, toArray, toString
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
private IMyPublicKey m_publicKey
private X509DistinguishedName m_subject
private MyX509Extensions m_extensions
public CertificationRequestInfo(X509DistinguishedName a_subject, IMyPublicKey a_publicKey, MyX509Extensions a_extensions)
a_subject
- an X509DistinguishedName (DN)a_publicKey
- a public keya_extensions
- X509 V3 extensions (may be null)CertificationRequestInfo(mybouncycastle.org.bouncycastle.asn1.ASN1Sequence a_sequence)
a_sequence
- ASN1Sequencepublic IMyPublicKey getPublicKey()
public MyX509Extensions getExtensions()
public X509DistinguishedName getX509DistinguishedName()
private static mybouncycastle.org.bouncycastle.asn1.ASN1EncodableVector createRequestInfo(mybouncycastle.org.bouncycastle.asn1.ASN1Integer a_version, mybouncycastle.org.bouncycastle.asn1.x500.X500Name a_subject, mybouncycastle.org.bouncycastle.asn1.x509.SubjectPublicKeyInfo a_subjectPublicKeyInfo, MyX509Extensions a_extensions)
private static mybouncycastle.org.bouncycastle.asn1.ASN1EncodableVector createRequestInfo(mybouncycastle.org.bouncycastle.asn1.ASN1Sequence a_sequence)
Copyright © 2023. All rights reserved.