11.07.2015 Views

Borland VisiBroker® 7.0 - Borland Technical Publications

Borland VisiBroker® 7.0 - Borland Technical Publications

Borland VisiBroker® 7.0 - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Certificate APIChecks if a certificate date is between the valid start and end dates.ParameterdateDescriptionAn out argument that is set to the expiration date of the certificate, using UNIXtime format.Returns true if the certificate is valid, false otherwise.CORBA::ULong startDate()Gets the date from which a certificate’s validity starts.Returns Returns an int representing the number of seconds from midnight, January 1st, 1970.CORBA::ULong endDate()Gets the expiration date of the certificate.Returns Returns an int representing the number of seconds from midnight, January 1st, 1970.CORBA::Boolean equals (CORBAsec::X509Cert_ptr other)Compares two CORBAsec::X509Cert certificates.ParameterotherDescriptionThe other certificate to compare to this certificate.ReturnsReturnsReturns true (1UL) if the two certificates are identical; otherwise, returns false (0UL).CORBA::Boolean isTrustpoint()Checks if this certificate is a trustpoint—that is, if it is a trusted certificateIf the certificate is a trustpoint, returns true.class CORBAsec::X509CertExtensionThis class is an IDL structure that represents an X509 certificate extension, as follows:struct X509CertExtension {long seq;sequence oid;boolean critical;sequence value;};ParameterseqoidvalueDescriptionA unique number of the extension in the certificate.The oid of the extension.The value of the extension encoded according to the format specified by the oid.Include FileThe X509Cert_c.hh file should be included when you use this class.112 VisiBroker Security Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!