VirtualBox Main API
|
X.509 certificate details. More...
Public Member Functions | |
void | isCurrentlyExpired ([retval] out boolean result) |
Tests if the certificate has expired at the present time according to the X.509 validity of the certificate. More... | |
void | queryInfo (in long what, [retval] out wstring result) |
Way to extend the interface. More... | |
Public Attributes | |
readonly attribute CertificateVersion | versionNumber |
Certificate version number. More... | |
readonly attribute wstring | serialNumber |
Certificate serial number. More... | |
readonly attribute wstring | signatureAlgorithmOID |
The dotted OID of the signature algorithm. More... | |
readonly attribute wstring | signatureAlgorithmName |
The signature algorithm name if known (if known). More... | |
readonly attribute wstring [] | issuerName |
Issuer name. More... | |
readonly attribute wstring [] | subjectName |
Subject name. More... | |
readonly attribute wstring | friendlyName |
Friendly subject name or similar. More... | |
readonly attribute wstring | validityPeriodNotBefore |
Certificate not valid before ISO time stamp. More... | |
readonly attribute wstring | validityPeriodNotAfter |
Certificate not valid after ISO time stamp. More... | |
readonly attribute wstring | publicKeyAlgorithmOID |
The dotted OID of the public key algorithm. More... | |
readonly attribute wstring | publicKeyAlgorithm |
The public key algorithm name (if known). More... | |
readonly attribute octet [] | subjectPublicKey |
The raw public key bytes. More... | |
readonly attribute wstring | issuerUniqueIdentifier |
Unique identifier of the issuer (empty string if not present). More... | |
readonly attribute wstring | subjectUniqueIdentifier |
Unique identifier of this certificate (empty string if not present). More... | |
readonly attribute boolean | certificateAuthority |
Whether this certificate is a certificate authority. More... | |
readonly attribute unsigned long | keyUsage |
Key usage mask. More... | |
readonly attribute wstring [] | extendedKeyUsage |
Array of dotted extended key usage OIDs. More... | |
readonly attribute octet [] | rawCertData |
The raw certificate bytes. More... | |
readonly attribute boolean | selfSigned |
Set if self signed certificate. More... | |
readonly attribute boolean | trusted |
Set if the certificate is trusted (by the parent object). More... | |
readonly attribute boolean | expired |
Set if the certificate has expired (relevant to the parent object)/. More... | |
X.509 certificate details.
{392F1DE4-80E1-4A8A-93A1-67C5F92A838A}
void ICertificate::isCurrentlyExpired | ( | [retval] out boolean | result | ) |
Tests if the certificate has expired at the present time according to the X.509 validity of the certificate.
void ICertificate::queryInfo | ( | in long | what, |
[retval] out wstring | result | ||
) |
Way to extend the interface.
readonly attribute CertificateVersion ICertificate::versionNumber |
Certificate version number.
readonly attribute wstring ICertificate::serialNumber |
Certificate serial number.
readonly attribute wstring ICertificate::signatureAlgorithmOID |
The dotted OID of the signature algorithm.
readonly attribute wstring ICertificate::signatureAlgorithmName |
The signature algorithm name if known (if known).
readonly attribute wstring [] ICertificate::issuerName |
Issuer name.
Each member of the array is on the format COMPONENT=NAME, e.g. "C=DE", "ST=Example", "L=For Instance", "O=Beispiel GmbH", "CN=beispiel.example.org".
readonly attribute wstring [] ICertificate::subjectName |
Subject name.
Same format as issuerName.
readonly attribute wstring ICertificate::friendlyName |
Friendly subject name or similar.
readonly attribute wstring ICertificate::validityPeriodNotBefore |
Certificate not valid before ISO time stamp.
readonly attribute wstring ICertificate::validityPeriodNotAfter |
Certificate not valid after ISO time stamp.
readonly attribute wstring ICertificate::publicKeyAlgorithmOID |
The dotted OID of the public key algorithm.
readonly attribute wstring ICertificate::publicKeyAlgorithm |
The public key algorithm name (if known).
readonly attribute octet [] ICertificate::subjectPublicKey |
The raw public key bytes.
readonly attribute wstring ICertificate::issuerUniqueIdentifier |
Unique identifier of the issuer (empty string if not present).
readonly attribute wstring ICertificate::subjectUniqueIdentifier |
Unique identifier of this certificate (empty string if not present).
readonly attribute boolean ICertificate::certificateAuthority |
Whether this certificate is a certificate authority.
Will return E_FAIL if this attribute is not present.
readonly attribute unsigned long ICertificate::keyUsage |
Key usage mask.
Will return 0 if not present.
readonly attribute wstring [] ICertificate::extendedKeyUsage |
Array of dotted extended key usage OIDs.
Empty array if not present.
readonly attribute octet [] ICertificate::rawCertData |
The raw certificate bytes.
readonly attribute boolean ICertificate::selfSigned |
Set if self signed certificate.
readonly attribute boolean ICertificate::trusted |
Set if the certificate is trusted (by the parent object).
readonly attribute boolean ICertificate::expired |
Set if the certificate has expired (relevant to the parent object)/.