LibreOffice
LibreOffice 7.4 SDK API Reference
|
Interface of a PKI Certificate. More...
import"XCertificate.idl";
Public Types | |
typedef sequence< byte > | SerialNumber |
the serial number attribute of the certificate. More... | |
typedef sequence< byte > | IssuerUniqueID |
the issuer unique ID attribute of the certificate. More... | |
typedef sequence< byte > | SubjectUniqueID |
the subject unique ID attribute of the certificate. More... | |
typedef sequence< XCertificateExtension > | Extensions |
all extensions of a certificate. More... | |
typedef sequence< byte > | Encoded |
the DER encoded form of the certificate More... | |
typedef sequence< byte > | SubjectPublicKeyValue |
the value of the subject public key More... | |
typedef sequence< byte > | SHA1Thumbprint |
the SHA-1 thumbprint More... | |
typedef sequence< byte > | MD5Thumbprint |
the MD5 thumbprint More... | |
Public Member Functions | |
XCertificateExtension | findCertificateExtension ([in]sequence< byte > oid) |
Find an extension with an object identifier. More... | |
long | getCertificateUsage () |
get the certificate usage. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Public Attributes | |
short | Version |
the version number attribute of the certificate. More... | |
string | IssuerName |
the issuer name attribute of the certificate. More... | |
string | SubjectName |
the subject name attribute of the certificate. More... | |
com::sun::star::util::DateTime | NotValidBefore |
the validity NotBefore date attribute of the certificate. More... | |
com::sun::star::util::DateTime | NotValidAfter |
the validity NotAfter date attribute of the certificate. More... | |
string | SubjectPublicKeyAlgorithm |
the algorithm of the subject public key More... | |
string | SignatureAlgorithm |
the signature algorithm More... | |
com::sun::star::security::CertificateKind | CertificateKind |
the kind of certificate, X.509 or OpenPGP More... | |
Interface of a PKI Certificate.
This interface represents a certificate (X.509 or OpenPGP) .
|
attributereadonly |
the DER encoded form of the certificate
|
attributereadonly |
all extensions of a certificate.
|
attributereadonly |
the issuer unique ID attribute of the certificate.
|
attributereadonly |
the MD5 thumbprint
|
attributereadonly |
the serial number attribute of the certificate.
|
attributereadonly |
the SHA-1 thumbprint
|
attributereadonly |
the value of the subject public key
|
attributereadonly |
the subject unique ID attribute of the certificate.
XCertificateExtension findCertificateExtension | ( | [in] sequence< byte > | oid | ) |
Find an extension with an object identifier.
long getCertificateUsage | ( | ) |
get the certificate usage.
The return value is a set of bits, as defined in RFC3280 for the KeyUsage BIT STRING. Note the bit and byte order used in ASN.1, so for instance the bit dataEncipherment in KeyUsage, "bit 3", corresponds to CERT_DATA_ENCIPHERMENT_KEY_USAGE in Win32 and KU_DATA_ENCIPHERMENT in NSS, both with value 0x10.
|
attributereadonly |
the kind of certificate, X.509 or OpenPGP
|
attributereadonly |
the issuer name attribute of the certificate.
|
attributereadonly |
the validity NotAfter date attribute of the certificate.
|
attributereadonly |
the validity NotBefore date attribute of the certificate.
|
attributereadonly |
the signature algorithm
|
attributereadonly |
the subject name attribute of the certificate.
|
attributereadonly |
the algorithm of the subject public key
|
attributereadonly |
the version number attribute of the certificate.