LibreOffice LibreOffice 5.4 SDK API Reference

XCertificate.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 #ifndef __com_sun_star_security_XCertificate_idl_
21 #define __com_sun_star_security_XCertificate_idl_
22
23 #include <com/sun/star/uno/XInterface.idl>
24 #include <com/sun/star/util/DateTime.idl>
25 #include <com/sun/star/security/XCertificateExtension.idl>
26 #include <com/sun/star/security/CertificateKind.idl>
27
28 module com { module sun { module star { module security {
29
35 interface XCertificate : com::sun::star::uno::XInterface
36 {
40 [attribute, readonly] short Version ;
41
45 [attribute, readonly] sequence< byte > SerialNumber ;
46
50 [attribute, readonly] string IssuerName ;
51
55 [attribute, readonly] string SubjectName ;
56
60 [attribute, readonly] com::sun::star::util::DateTime NotValidBefore ;
61
65 [attribute, readonly] com::sun::star::util::DateTime NotValidAfter ;
66
70 [attribute, readonly] sequence< byte > IssuerUniqueID ;
71
75 [attribute, readonly] sequence< byte > SubjectUniqueID ;
76
80 [attribute, readonly] sequence< XCertificateExtension > Extensions ;
81
85 [attribute, readonly] sequence< byte > Encoded ;
86
90 [attribute, readonly] string SubjectPublicKeyAlgorithm;
91
95 [attribute, readonly] sequence< byte > SubjectPublicKeyValue;
96
100 [attribute, readonly] string SignatureAlgorithm;
101
105 [attribute, readonly] sequence< byte > SHA1Thumbprint;
106
110 [attribute, readonly] sequence< byte > MD5Thumbprint;
111
115 [attribute, readonly] com::sun::star::security::CertificateKind CertificateKind;
116
120 XCertificateExtension findCertificateExtension( [in]sequence< byte > oid ) ;
121
128 long getCertificateUsage();
129 } ;
130
131 } ; } ; } ; } ;
132
133 #endif
134
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::security::XCertificate::NotValidAfter
com::sun::star::util::DateTime NotValidAfter
the validity NotAfter date attribute of the certificate.
Definition: XCertificate.idl:65
com::sun::star::util::DateTime
represents a combined date+time value.
Definition: DateTime.idl:28
com
Definition: Ambiguous.idl:22
com::sun::star::security::XCertificate::SubjectUniqueID
sequence< byte > SubjectUniqueID
the subject unique ID attribute of the certificate.
Definition: XCertificate.idl:75
com::sun::star::security::XCertificate::SubjectPublicKeyAlgorithm
string SubjectPublicKeyAlgorithm
the algorithm of the subject public key
Definition: XCertificate.idl:90
com::sun::star::security::XCertificate::SerialNumber
sequence< byte > SerialNumber
the serial number attribute of the certificate.
Definition: XCertificate.idl:45
com::sun::star::security::XCertificate::SubjectPublicKeyValue
sequence< byte > SubjectPublicKeyValue
the value of the subject public key
Definition: XCertificate.idl:95
XCertificateExtension.idl
com::sun::star::security::XCertificate::Version
short Version
the version number attribute of the certificate.
Definition: XCertificate.idl:40
com::sun::star::security::XCertificate::NotValidBefore
com::sun::star::util::DateTime NotValidBefore
the validity NotBefore date attribute of the certificate.
Definition: XCertificate.idl:60
CertificateKind.idl
com::sun::star::security::XCertificate::SubjectName
string SubjectName
the subject name attribute of the certificate.
Definition: XCertificate.idl:55
com::sun::star::security::CertificateKind
CertificateKind
Enum definition of a certificate kind ( X509, OpenPGP )
Definition: CertificateKind.idl:18
com::sun::star::security::XCertificate::IssuerName
string IssuerName
the issuer name attribute of the certificate.
Definition: XCertificate.idl:50
XInterface.idl
com::sun::star::security::XCertificate::SignatureAlgorithm
string SignatureAlgorithm
the signature algorithm
Definition: XCertificate.idl:100
com::sun::star::security::XCertificateExtension
Interface of a PKI Certificate.
Definition: XCertificateExtension.idl:32
DateTime.idl
com::sun::star::security::XCertificate::Encoded
sequence< byte > Encoded
the DER encoded form of the certificate
Definition: XCertificate.idl:85
com::sun::star::security::XCertificate::Extensions
sequence< XCertificateExtension > Extensions
all extensions of a certificate.
Definition: XCertificate.idl:80
com::sun::star::security::XCertificate::CertificateKind
com::sun::star::security::CertificateKind CertificateKind
the kind of certificate, X.509 or OpenPGP
Definition: XCertificate.idl:115
com::sun::star::security::XCertificate::SHA1Thumbprint
sequence< byte > SHA1Thumbprint
the SHA-1 thumbprint
Definition: XCertificate.idl:105
com::sun::star::security::XCertificate::MD5Thumbprint
sequence< byte > MD5Thumbprint
the MD5 thumbprint
Definition: XCertificate.idl:110
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
com::sun::star::security::XCertificate::IssuerUniqueID
sequence< byte > IssuerUniqueID
the issuer unique ID attribute of the certificate.
Definition: XCertificate.idl:70
com::sun::star::security::XCertificate
Interface of a PKI Certificate.
Definition: XCertificate.idl:35