PKCS10RequestImpl

PKCS #10 Certificate Request.

Constructors

this
this(DataSource source)

Create a PKCS#10 Request from a data source.

this
this(string input)

Create a PKCS#10 Request from a file.

this
this(Vector!(ubyte, ALLOC)* input)

Create a PKCS#10 Request from binary data.

Members

Functions

challengePassword
string challengePassword()

Get the challenge password for this request

constraints
KeyConstraints constraints()

Get the key constraints for the key associated with this PKCS#10 object.

exConstraints
Vector!OID exConstraints()

Get the extendend key constraints (if any).

forceDecode
void forceDecode()
Undocumented in source. Be warned that the author may not have intended to support it.
handleAttribute
void handleAttribute(Attribute attr)
Undocumented in source. Be warned that the author may not have intended to support it.
isCA
bool isCA()

Find out whether this is a CA request.

pathLimit
uint pathLimit()

Return the constraint on the path length defined in the BasicConstraints extension.

rawPublicKey
Vector!ubyte rawPublicKey()

Get the raw DER encoded public key.

subjectAltName
AlternativeName subjectAltName()

Get the subject alternative name.

subjectDn
X509DN subjectDn()

Get the subject DN.

subjectPublicKey
PublicKey subjectPublicKey()

Get the subject public key.

Variables

m_info
DataStore m_info;
Undocumented in source.

Inherited Members

From X509Object

tbsData
const(Vector!ubyte) tbsData()

The underlying data that is to be or was signed

signature
const(Vector!ubyte) signature()
signatureAlgorithm
const(AlgorithmIdentifier) signatureAlgorithm()
hashUsedForSignature
string hashUsedForSignature()
makeSigned
Vector!ubyte makeSigned(PKSigner signer, RandomNumberGenerator rng, AlgorithmIdentifier algo, Vector!(ubyte, ALLOC) tbs_bits)
Vector!ubyte makeSigned(PKSigner signer, RandomNumberGenerator rng, AlgorithmIdentifier algo, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) tbs_bits)

Create a signed X509 object.

checkSignature
bool checkSignature(PublicKey pub_key)

Check the signature on this data

encodeInto
void encodeInto(DEREncoder to)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeFrom
void decodeFrom(BERDecoder from)
Undocumented in source. Be warned that the author may not have intended to support it.
BER_encode
Vector!ubyte BER_encode()
PEM_encode
string PEM_encode()
~this
~this()
Undocumented in source.
doDecode
void doDecode()
Undocumented in source. Be warned that the author may not have intended to support it.
m_sig_algo
AlgorithmIdentifier m_sig_algo;
Undocumented in source.
m_tbs_bits
Vector!ubyte m_tbs_bits;
m_sig
Vector!ubyte m_sig;
Undocumented in source.
forceDecode
void forceDecode()
Undocumented in source.

Meta