EACSignedObject

This class represents abstract signed EAC object

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

BER_encode
Vector!ubyte BER_encode()

BER encode this object.

PEM_encode
string PEM_encode()

PEM encode this object.

checkSignature
bool checkSignature(PublicKey pub_key, Vector!(ubyte, ALLOC) sig)

Check the signature of this object.

doDecode
void doDecode()
Undocumented in source. Be warned that the author may not have intended to support it.
signatureAlgorithm
const(AlgorithmIdentifier) signatureAlgorithm()

Get the signature algorithm identifier used to sign this object.

Variables

m_PEM_labels_allowed
string[] m_PEM_labels_allowed;
Undocumented in source.
m_sig_algo
AlgorithmIdentifier m_sig_algo;
Undocumented in source.
m_tbs_bits
Vector!ubyte m_tbs_bits;
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