LibreOffice
LibreOffice 24.2 SDK API Reference
|
Interface of Security Environment. More...
import"XSecurityEnvironment.idl";
Public Member Functions | |
sequence< com::sun::star::security::XCertificate > | getPersonalCertificates () raises ( com::sun::star::uno::SecurityException ) |
Get personal certificates from the environment. More... | |
com::sun::star::security::XCertificate | getCertificate ([in] string issuerName, [in] sequence< byte > serialNumber) raises ( com::sun::star::uno::SecurityException ) |
Get certificate from the environment by issuer name and serial number. More... | |
sequence< com::sun::star::security::XCertificate > | buildCertificatePath ([in] com::sun::star::security::XCertificate beginCert) raises ( com::sun::star::uno::SecurityException ) |
Build certificate path from a certain certificate. More... | |
com::sun::star::security::XCertificate | createCertificateFromRaw ([in] sequence< byte > rawCertificate) raises ( com::sun::star::uno::SecurityException ) |
Create certificate interface from raw DER encoded certificate. More... | |
com::sun::star::security::XCertificate | createCertificateFromAscii ([in] string asciiCertificate) raises ( com::sun::star::uno::SecurityException ) |
Create certificate interface from a Base64 encoded certificate. More... | |
long | verifyCertificate ([in] com::sun::star::security::XCertificate xEECertificate, [in] sequence< com::sun::star::security::XCertificate > intermediateCertificates) raises ( com::sun::star::uno::SecurityException ) |
Verify a certificate. More... | |
long | getCertificateCharacters ([in] com::sun::star::security::XCertificate xCertificate) raises ( com::sun::star::uno::SecurityException ) |
Get a certificate characters. More... | |
string | getSecurityEnvironmentInformation () |
Get the Environment detail information. More... | |
sequence< com::sun::star::security::XCertificate > | getAllCertificates () raises ( com::sun::star::uno::SecurityException ) |
List all certificates, private (as returned by getPersonalCertificates) as well as those of other people/orgas. 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... | |
Interface of Security Environment.
sequence< com::sun::star::security::XCertificate > buildCertificatePath | ( | [in] com::sun::star::security::XCertificate | beginCert | ) | |
raises | ( | com::sun::star::uno::SecurityException | |||
) |
Build certificate path from a certain certificate.
com::sun::star::security::XCertificate createCertificateFromAscii | ( | [in] string | asciiCertificate | ) | |
raises | ( | com::sun::star::uno::SecurityException | |||
) |
Create certificate interface from a Base64 encoded certificate.
com::sun::star::security::XCertificate createCertificateFromRaw | ( | [in] sequence< byte > | rawCertificate | ) | |
raises | ( | com::sun::star::uno::SecurityException | |||
) |
Create certificate interface from raw DER encoded certificate.
sequence< com::sun::star::security::XCertificate > getAllCertificates | ( | ) | ||
raises | ( | com::sun::star::uno::SecurityException | ||
) |
List all certificates, private (as returned by getPersonalCertificates) as well as those of other people/orgas.
com::sun::star::security::XCertificate getCertificate | ( | [in] string | issuerName, |
[in] sequence< byte > | serialNumber | ||
) | |||
raises | ( | com::sun::star::uno::SecurityException | |
) |
Get certificate from the environment by issuer name and serial number.
long getCertificateCharacters | ( | [in] com::sun::star::security::XCertificate | xCertificate | ) | |
raises | ( | com::sun::star::uno::SecurityException | |||
) |
Get a certificate characters.
The method provides a way to get certificate characters like:
The certificate characters is defined as bit-wise long, please refer to CertificateCharacters definition.
sequence< com::sun::star::security::XCertificate > getPersonalCertificates | ( | ) | ||
raises | ( | com::sun::star::uno::SecurityException | ||
) |
Get personal certificates from the environment.
string getSecurityEnvironmentInformation | ( | ) |
Get the Environment detail information.
long verifyCertificate | ( | [in] com::sun::star::security::XCertificate | xEECertificate, |
[in] sequence< com::sun::star::security::XCertificate > | intermediateCertificates | ||
) | |||
raises | ( | com::sun::star::uno::SecurityException | |
) |
Verify a certificate.
The method provides a way to verify a certificate.
xEECertificate | The certificate which is to be validated. |
intermediateCertificates | Additional certificates which can be used by the method in constructing the certificate chain. The root certificate may also be contained. However, the implementation must check if the root certificate is indeed trusted by the user. All entries of the sequence must be non-null references. |