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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Certificate APICertificate APIThis API contains classes and methods for working with certificates.class vbsec::CertificateFactoryThis is a utility class for handling of certificates and keys.Include FileThe vbssp.h file should be included when you use this class.MethodsCORBAsec::X509CertList* importCertificateChain (const CORBAsec::ASN1ObjectList&certs) constImport the certification chain in the form of CORBAsec::ASN1ObjectList intoCORBAsec::X509CertList, which could be use in VBSSLContext.ParametercertsDescriptionASN1ObjectList representation of the certificate chain.ReturnsCORBAsec::X509CertList representation of the certificate chain for CORBAtransportation.CORBAsec::X509CertList* importCertificates (const CORBAsec::ASN1ObjectList&certs) constImport the certification list in the form of CORBAsec::ASN1ObjectList intoCORBAsec::X509CertList. Certificates need not be related to each other. The originalorder is preserved after importing.ParametercertsDescriptionASN1ObjectList representation of certificate listReturnsCORBAsec::X509CertList representation of the certificate list.CORBAsec::ASN1Object* importPrivateKey (const CORBAsec::ASN1Object& key) constConvert the private key from BASE64 or PEM format to DER format.ParameterkeyDescriptionASN1ObjectList representation of private key object.ReturnsDER format of the private key.CORBAsec::X509CertList* importCertificateChain (const CORBAsec::ASN1Object&pkcs12bytes,const CSI::UTF8String&password) constChapter 11: VisiSecure for C++ APIs 109

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

Saved successfully!

Ooh no, something went wrong!