EAC11genCVC

This class represents TR03110 (EAC) v1.1 generalized CV Certificates

Members

Functions

encode
void encode(Pipe output, X509Encoding encoding)

Put the DER encoded version of this object into a pipe. PEM is not supported.

forceDecode
void forceDecode()
Undocumented in source.
getChr
const(ASN1Chr) getChr()

Get the CHR of the certificate.

getConcatSig
const(Vector!ubyte) getConcatSig()
Undocumented in source. Be warned that the author may not have intended to support it.
isSelfSigned
bool isSelfSigned()

Find out whether this object is self signed.

subjectPublicKey
const(PublicKey) subjectPublicKey()

Get this certificates public key.

tbsData
const(Vector!ubyte) tbsData()

Get the to-be-signed (TBS) data of this object.

Static functions

buildCertBody
Vector!ubyte buildCertBody(Vector!(ubyte, ALLOC) tbs)

Build the DER encoded certifcate body of an object

decodeInfo
void decodeInfo(DataSource source, Vector!(ubyte, ALLOC) res_tbs_bits, ECDSASignature res_sig)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeInfo
void decodeInfo(DataSource source, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) res_tbs_bits, ECDSASignature res_sig)
Undocumented in source. Be warned that the author may not have intended to support it.
makeSigned
Vector!ubyte makeSigned(PKSigner signer, Vector!(ubyte, ALLOC) tbs_bits, RandomNumberGenerator rng)

Create a signed generalized CVC object.

makeSigned
Vector!ubyte makeSigned(PKSigner signer, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) tbs_bits, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_chr
ASN1Chr m_chr;
Undocumented in source.
m_pk
ECDSAPublicKey m_pk;
Undocumented in source.
m_self_signed
bool m_self_signed;
Undocumented in source.

Inherited Members

From SignedObject

tbsData
const(Vector!ubyte) tbsData()

Get the TBS (to-be-signed) data in this object.

getConcatSig
const(Vector!ubyte) getConcatSig()

Get the signature of this object as a concatenation, i.e. if the signature consists of multiple parts (like in the case of ECDSA) these will be concatenated.

encode
void encode(Pipe pipe, X509Encoding encoding)

Write this object DER encoded into a specified pipe.

forceDecode
void forceDecode()
Undocumented in source.

Meta