LibreOffice
LibreOffice 24.2 SDK API Reference
|
Interface of XML encryption. More...
import"XXMLEncryption.idl";
Public Member Functions | |
com::sun::star::xml::crypto::XXMLEncryptionTemplate | encrypt ([in] com::sun::star::xml::crypto::XXMLEncryptionTemplate aTemplate, [in] com::sun::star::xml::crypto::XSecurityEnvironment aEnvironment) raises ( com::sun::star::xml::crypto::XMLEncryptionException , com::sun::star::uno::SecurityException ) |
Perform encryption in the environment of encryption template and context. More... | |
com::sun::star::xml::crypto::XXMLEncryptionTemplate | decrypt ([in] com::sun::star::xml::crypto::XXMLEncryptionTemplate aTemplate, [in] com::sun::star::xml::crypto::XXMLSecurityContext aContext) raises ( com::sun::star::xml::crypto::XMLEncryptionException , com::sun::star::uno::SecurityException ) |
Perform decryption in the environment of encryption template and context. 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 XML encryption.
This interface represents a XML encryptor or decryptor.
The encryptor or decryptor concrete a key by retrieve security context and encryption template.
In some cases, the encryptor or decryptor can determine and locate the EncryptedKey from the encryption template by dereference the RetrievalMethod inside EncryptedData.
In some cases, the EncryptedKey need to be clearly pointed out by the encryption template.
Perform decryption in the environment of encryption template and context.
com::sun::star::xml::crypto::XXMLEncryptionTemplate encrypt | ( | [in] com::sun::star::xml::crypto::XXMLEncryptionTemplate | aTemplate, |
[in] com::sun::star::xml::crypto::XSecurityEnvironment | aEnvironment | ||
) | |||
raises | ( | com::sun::star::xml::crypto::XMLEncryptionException , | |
com::sun::star::uno::SecurityException | |||
) |
Perform encryption in the environment of encryption template and context.