[Libreoffice-commits] core.git: offapi/com

Tor Lillqvist tml at collabora.com
Thu May 19 11:06:58 UTC 2016


 offapi/com/sun/star/security/XCertificate.idl |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 7415b7d4e594c75708ca19a2b21fe9b09136498d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu May 19 14:01:19 2016 +0300

    Document getCertificateUsage better
    
    Change-Id: I8262133fa2cb759dd8f203b3399dc8865346c884

diff --git a/offapi/com/sun/star/security/XCertificate.idl b/offapi/com/sun/star/security/XCertificate.idl
index 8a52569..22f7c6a 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();
 } ;


More information about the Libreoffice-commits mailing list