LibreOffice LibreOffice 25.2 SDK API Reference

Constant Groups | Classes | Enumerations
com::sun::star::security Module Reference

Interface for authorisation and authentication. More...

## Constant Groups
constants | CertificateCharacters
| Constant definition of a certificate characters.
constants | CertificateValidity
| Constant definition of a certificate characters.
constants | KeyUsage

## Classes
exception | AccessControlException
| Exception notifying a lacking permission to access data or execute code thus it is thrown if permission ought to be denied. More...
service | AccessController
| This meta service supports the XAccessController interface for checking security permissions. More...
struct | AllPermission
| The AllPermission is a permission that implies all other permissions. More...
struct | CertAltNameEntry
| struct contains a single entry within a Subject Alternative Name Extension of a X509 certificate. More...
service | CertificateContainer
| the service to be used for XCertificateContainer. More...
exception | CertificateException
exception | CryptographyException
service | DocumentDigitalSignatures
| Service of DocumentDigitalSignatures. More...
struct | DocumentSignatureInformation
| Status of digital signatures in a document. More...
exception | EncryptionException
exception | KeyException
exception | NoPasswordException
service | Policy
| Service for getting sets of permissions reading from some persistent storage. More...
struct | RuntimePermission
| This permission grants runtime access to some named functionality. More...
exception | SecurityInfrastructureException
exception | SignatureException
interface | XAccessControlContext
| An XAccessControlContext is used to make system resource access decisions based on the context it encapsulates. More...
interface | XAccessController
| Interface for checking permissions and invoking privileged or restricted actions. More...
interface | XAction
| Interface for running an action. More...
interface | XCertificate
| Interface of a PKI Certificate. More...
interface | XCertificateContainer
| Manage user certificate for temporary connections. More...
interface | XCertificateExtension
| Interface of a PKI Certificate. More...
interface | XDocumentDigitalSignatures
| Interface for signing and verifying digital signatures in office documents. More...
interface | XPolicy
| Interface for getting sets of permissions of a specified user or the default permissions if no user is given. More...
interface | XSanExtension
| Interface of a X509 Subject Alternative Name Certificate Extension. More...

## Enumerations
enum | CertificateContainerStatus { NOCERT , TRUSTED , UNTRUSTED }
| Constant definition of a certificate container status. More...
enum | CertificateKind { X509 , OPENPGP , NONE }
| Enum definition of a certificate kind ( X509, OpenPGP ) More...
enum | ExtAltNameType { OTHER_NAME , RFC822_NAME , DNS_NAME , DIRECTORY_NAME , URL , IP_ADDRESS , REGISTERED_ID , EDI_PARTY_NAME , X400_ADDRESS }
| Constant definition of a certificate container status. More...

## Detailed Description

Interface for authorisation and authentication.

cryptographic interfaces.

## Enumeration Type Documentation

## ◆ CertificateContainerStatus

enum CertificateContainerStatus

Constant definition of a certificate container status.

Enumerator
NOCERT | The certificate was not found.
TRUSTED | The certificate was found and is trusted.
UNTRUSTED | The certificate was found but is untrusted.

## ◆ CertificateKind

enum CertificateKind

Enum definition of a certificate kind ( X509, OpenPGP )

Since
  LibreOffice 5.4

Enumerator
X509 | X.509 format of a certificate.
OPENPGP | OpenPGP format of a certificate.
NONE | No format specified. Since LibreOffice 6.2

## ◆ ExtAltNameType

enum ExtAltNameType

Constant definition of a certificate container status.

Enumerator
OTHER_NAME | Customize name/value pair The value of CertAltNameEntry contains a NamedValue. See also com::sun::star::security::CertAltNameEntry
RFC822_NAME | The entry contains rfc822 name. The value of CertAltNameEntry contains an OUString. See also com::sun::star::security::CertAltNameEntry
DNS_NAME | The entry contains a dns name. The value of CertAltNameEntry contains a OUString. See also com::sun::star::security::CertAltNameEntry
DIRECTORY_NAME | Currently unsupported.
URL | The entry contains a URL. The value of CertAltNameEntry contains a OUString. See also com::sun::star::security::CertAltNameEntry
IP_ADDRESS | The entry contains an IP address. The value of CertAltNameEntry contains a Sequence of sal_Int8. See also com::sun::star::security::CertAltNameEntry
REGISTERED_ID | The entry contains a registered id. The value of CertAltNameEntry contains a OUString. See also com::sun::star::security::CertAltNameEntry
EDI_PARTY_NAME | Currently unsupported.
X400_ADDRESS | Currently unsupported.