Information about a digital signature. More...
#include <Dsig.h>
Public Member Functions | |
RMGRSUBS_EXPORT | DsigQuery (DsigDigitalSignature const &) |
RMGRSUBS_EXPORT | DsigQuery (DsigQuery const &) |
RMGRSUBS_EXPORT DsigQuery & | operator= (DsigQuery const &) |
RMGRSUBS_EXPORT | ~DsigQuery () |
RMGRSUBS_EXPORT bool | IsValid () const |
Returns false if the element queried is not a digital signature. More... | |
RMGRSUBS_EXPORT WCharCP | GetCommonName () const |
The common name (CN) from the Subject field of the signer's certificate, if the signature has a copy of the signer's certificate. More... | |
RMGRSUBS_EXPORT WCharCP | GetEmail () const |
Subject e-mail (E) name from signer's certificate, if the signature has a copy of the signer's certificate. Not always available. More... | |
RMGRSUBS_EXPORT bool | IncludesEntireFile () const |
Query if the scope of the signature includes the content of the entire file */. More... | |
RMGRSUBS_EXPORT bool | IncludesReferences () const |
Query if the scope of the signature includes the content of referenced models. More... | |
RMGRSUBS_EXPORT StatusInt | GetCertificate (bvector< byte > &x509Cert) const |
Get the signer's certificate, if stored. More... | |
RMGRSUBS_EXPORT StatusInt | GetCertificateChain (bvector< byte > &pkcs7) const |
Get the PKCS#7 certficate chain, if stored. More... | |
RMGRSUBS_EXPORT StatusInt | GetPublicKey (bvector< byte > &x509PublicKeyInfo) const |
Get the signer's public key. More... | |
RMGRSUBS_EXPORT DsigAnnotationData const & | GetAnnotationData () const |
Get the optional annotation data that the signer stored with the signature. More... | |
Information about a digital signature.
RMGRSUBS_EXPORT DsigQuery | ( | DsigDigitalSignature const & | ) |
RMGRSUBS_EXPORT DsigQuery | ( | DsigQuery const & | ) |
RMGRSUBS_EXPORT ~DsigQuery | ( | ) |
RMGRSUBS_EXPORT DsigAnnotationData const& GetAnnotationData | ( | ) | const |
Get the optional annotation data that the signer stored with the signature.
RMGRSUBS_EXPORT StatusInt GetCertificate | ( | bvector< byte > & | x509Cert | ) | const |
Get the signer's certificate, if stored.
[out] | x509Cert | DER-encoded X.509 certificate. |
RMGRSUBS_EXPORT StatusInt GetCertificateChain | ( | bvector< byte > & | pkcs7 | ) | const |
Get the PKCS#7 certficate chain, if stored.
RMGRSUBS_EXPORT WCharCP GetCommonName | ( | ) | const |
The common name (CN) from the Subject field of the signer's certificate, if the signature has a copy of the signer's certificate.
RMGRSUBS_EXPORT WCharCP GetEmail | ( | ) | const |
Subject e-mail (E) name from signer's certificate, if the signature has a copy of the signer's certificate. Not always available.
RMGRSUBS_EXPORT StatusInt GetPublicKey | ( | bvector< byte > & | x509PublicKeyInfo | ) | const |
Get the signer's public key.
[out] | x509PublicKeyInfo | DER-encoded X.509 PublicKeyInfo. |
RMGRSUBS_EXPORT bool IncludesEntireFile | ( | ) | const |
Query if the scope of the signature includes the content of the entire file */.
RMGRSUBS_EXPORT bool IncludesReferences | ( | ) | const |
Query if the scope of the signature includes the content of referenced models.
RMGRSUBS_EXPORT bool IsValid | ( | ) | const |
Returns false if the element queried is not a digital signature.
RMGRSUBS_EXPORT DsigQuery& operator= | ( | DsigQuery const & | ) |