LibreOffice
LibreOffice 7.3 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
27
28module com { module sun { module star { module security {
29
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
61
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
118
123
131} ;
132
133} ; } ; } ; } ;
134
135#endif
136
137/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Interface of a PKI Certificate.
Definition: XCertificateExtension.idl:33
Interface of a PKI Certificate.
Definition: XCertificate.idl:36
string SubjectPublicKeyAlgorithm
the algorithm of the subject public key
Definition: XCertificate.idl:90
sequence< byte > IssuerUniqueID
the issuer unique ID attribute of the certificate.
Definition: XCertificate.idl:70
sequence< byte > MD5Thumbprint
the MD5 thumbprint
Definition: XCertificate.idl:110
sequence< byte > SerialNumber
the serial number attribute of the certificate.
Definition: XCertificate.idl:45
sequence< XCertificateExtension > Extensions
all extensions of a certificate.
Definition: XCertificate.idl:80
sequence< byte > SubjectPublicKeyValue
the value of the subject public key
Definition: XCertificate.idl:95
sequence< byte > Encoded
the DER encoded form of the certificate
Definition: XCertificate.idl:85
sequence< byte > SHA1Thumbprint
the SHA-1 thumbprint
Definition: XCertificate.idl:105
string SubjectName
the subject name attribute of the certificate.
Definition: XCertificate.idl:55
XCertificateExtension findCertificateExtension([in]sequence< byte > oid)
Find an extension with an object identifier.
sequence< byte > SubjectUniqueID
the subject unique ID attribute of the certificate.
Definition: XCertificate.idl:75
long getCertificateUsage()
get the certificate usage.
com::sun::star::util::DateTime NotValidBefore
the validity NotBefore date attribute of the certificate.
Definition: XCertificate.idl:60
com::sun::star::security::CertificateKind CertificateKind
the kind of certificate, X.509 or OpenPGP
Definition: XCertificate.idl:117
string SignatureAlgorithm
the signature algorithm
Definition: XCertificate.idl:100
string IssuerName
the issuer name attribute of the certificate.
Definition: XCertificate.idl:50
short Version
the version number attribute of the certificate.
Definition: XCertificate.idl:40
com::sun::star::util::DateTime NotValidAfter
the validity NotAfter date attribute of the certificate.
Definition: XCertificate.idl:65
base interface of all UNO interfaces
Definition: XInterface.idl:48
CertificateKind
Enum definition of a certificate kind ( X509, OpenPGP )
Definition: CertificateKind.idl:21
Definition: Accessible.idl:22
represents a combined date+time value.
Definition: DateTime.idl:29