diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-01-28 19:03:55 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-01-28 19:03:55 +0000 |
commit | 89ef863090fb0a619659ab51fc34025792ff5bc0 (patch) | |
tree | 4a9a2432cb59becb2e21a53fd272789ce2f89ecf /offapi/com/sun/star/xml/crypto | |
parent | 4728462953156cb2b4c0fa0d8bbbb3ab0b11e762 (diff) | |
parent | 1f5e32262c475444b09293e7e7b78141a1704696 (diff) |
koheidatapilot03: merge with DEV300_m57
Diffstat (limited to 'offapi/com/sun/star/xml/crypto')
-rw-r--r-- | offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl b/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl index 6fc5e45430f2..1d1d32bf17a8 100644 --- a/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl +++ b/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl @@ -78,14 +78,26 @@ interface XSecurityEnvironment : com::sun::star::uno::XInterface com::sun::star::security::XCertificate createCertificateFromAscii( [in] string asciiCertificate ) raises( com::sun::star::uno::SecurityException ) ; /** - * Verify a certificate. - * - * The method provides a way to verify a certificate. - * - * The validation status will returned as a bit-wise long, please refer to - * CertificateValidity definition. + Verify a certificate. + + The method provides a way to verify a certificate. + @param xEECertificate + The certificate which is to be validated. + + @param intermediateCertificates + Additional certificates which can be used by the method in constructing + the certificate chain. The root certificate may also be contained. However, + the implementation must check if the root certificate is indeed trusted by + the user. + All entries of the sequence must be non-null references. + + @return + The validation status will returned as a bit-wise long, please refer to + CertificateValidity definition. */ - long verifyCertificate( [in] com::sun::star::security::XCertificate xCertificate ) raises( com::sun::star::uno::SecurityException ) ; + long verifyCertificate( [in] com::sun::star::security::XCertificate xEECertificate, + [in] sequence< com::sun::star::security::XCertificate > intermediateCertificates) + raises( com::sun::star::uno::SecurityException ) ; /** * Get a certificate characters. |