From 7415b7d4e594c75708ca19a2b21fe9b09136498d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 19 May 2016 14:01:19 +0300 Subject: Document getCertificateUsage better Change-Id: I8262133fa2cb759dd8f203b3399dc8865346c884 --- offapi/com/sun/star/security/XCertificate.idl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'offapi/com/sun/star') 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(); } ; -- cgit v1.2.3