(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

unpublished interface XCertificate
Usage Restrictions
not published
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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.