Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: security ::

interface XCertificate
Description
* Interface of a PKI Certificate * *

This interface represents a x509 certificate.


Methods' Summary
findCertificateExtension * Find a extension with a object identifier.  
getCertificateUsage * get the certificate usage  
Attributes' Summary
Version * the version number attribute of the certificate.  
SerialNumber * the serial number attribute of the certificate.  
IssuerName * the issuer name attribute of the certificate.  
SubjectName * the subject name attribute of the certificate.  
NotValidBefore * the validity NotBefore date attribute of the certificate.  
NotValidAfter * the validity NotAfter date attribute of the certificate.  
IssuerUniqueID * the issuer unique ID attribute of the certificate.  
SubjectUniqueID * the subject unique ID attribute of the certificate.  
Extensions * all extensions of a certificate.  
Encoded * the DER encoded form of the certificate  
SubjectPublicKeyAlgorithm * the algorithm of the subject public key  
SubjectPublicKeyValue * the value of the subject public key  
SignatureAlgorithm * the signature algorithm  
SHA1Thumbprint * the SHA1 thumbprint  
MD5Thumbprint * the MD5 thumbprint  
Methods' Details
findCertificateExtension
XCertificateExtension
findCertificateExtension( [in] sequence< byte >  oid );

Description
* Find a extension with a object identifier.
getCertificateUsage
long
getCertificateUsage();

Description
* get the certificate usage
Attributes' Details
Version
[ readonly ] short Version;
Description
* the version number attribute of the certificate.
SerialNumber
[ readonly ] sequence< byte > SerialNumber;
Description
* the serial number attribute of the certificate.
IssuerName
[ readonly ] string IssuerName;
Description
* the issuer name attribute of the certificate.
SubjectName
[ readonly ] string SubjectName;
Description
* the subject name attribute of the certificate.
NotValidBefore
[ readonly ] ::com::sun::star::util::DateTime NotValidBefore;
Description
* the validity NotBefore date attribute of the certificate.
NotValidAfter
[ readonly ] ::com::sun::star::util::DateTime NotValidAfter;
Description
* the validity NotAfter date attribute of the certificate.
IssuerUniqueID
[ readonly ] sequence< byte > IssuerUniqueID;
Description
* the issuer unique ID attribute of the certificate.
SubjectUniqueID
[ readonly ] sequence< byte > SubjectUniqueID;
Description
* the subject unique ID attribute of the certificate.
Extensions
[ readonly ] sequence< XCertificateExtension > Extensions;
Description
* all extensions of a certificate.
Encoded
[ readonly ] sequence< byte > Encoded;
Description
* the DER encoded form of the certificate
SubjectPublicKeyAlgorithm
[ readonly ] string SubjectPublicKeyAlgorithm;
Description
* the algorithm of the subject public key
SubjectPublicKeyValue
[ readonly ] sequence< byte > SubjectPublicKeyValue;
Description
* the value of the subject public key
SignatureAlgorithm
[ readonly ] string SignatureAlgorithm;
Description
* the signature algorithm
SHA1Thumbprint
[ readonly ] sequence< byte > SHA1Thumbprint;
Description
* the SHA1 thumbprint
MD5Thumbprint
[ readonly ] sequence< byte > MD5Thumbprint;
Description
* the MD5 thumbprint
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.