diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-05-19 14:01:19 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-05-19 14:05:16 +0300 |
commit | 7415b7d4e594c75708ca19a2b21fe9b09136498d (patch) | |
tree | 9ff4f98e901b596b0203613cd90958ce61fb762a /offapi/com/sun/star/security | |
parent | 1a140de1f8b02759288adc33a64d35b0a0806600 (diff) |
Document getCertificateUsage better
Change-Id: I8262133fa2cb759dd8f203b3399dc8865346c884
Diffstat (limited to 'offapi/com/sun/star/security')
-rw-r--r-- | offapi/com/sun/star/security/XCertificate.idl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/offapi/com/sun/star/security/XCertificate.idl b/offapi/com/sun/star/security/XCertificate.idl index 8a5256971acc..22f7c6a4a1be 100644 --- a/offapi/com/sun/star/security/XCertificate.idl +++ b/offapi/com/sun/star/security/XCertificate.idl @@ -114,7 +114,10 @@ interface XCertificate : com::sun::star::uno::XInterface XCertificateExtension findCertificateExtension( [in]sequence< byte > oid ) ; /** - * get the certificate usage + * 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. */ long getCertificateUsage(); } ; |