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 APIImports a certificate chain from pkcs12 binary.Parameterpkcs12bytespasswordDescriptionASN1ObjectList representation of pkcs12 binary.Password for the pkcs12 binary.ReturnsCORBAsec::X509CertList representation of the certificate chain.CORBAsec::ASN1Object* importPrivateKey (const CORBAsec::ASN1Object&pkcs12bytes,const CSI::UTF8String& password) constImport private key from pkcs12 binary.Parameterpkcs12bytespasswordDescriptionASN1ObjectList representation of pkcs12 binary.Password for the pkcs12 binary.ReturnsCORBAsec::ASN1Object representation of the private key object.const CertificateFactory& printCertificate (const CORBAsec::X509Cert&certificate, std::ostream& stream) constPrint out the certification information into an output stream.ParametercertificatestreamDescriptioncertificate to be printed.stream to which to output.Returnsthe CertificateFactory.bool passwordForPrivatekey (const CSI::UTF8String& password, constCORBAsec::ASN1Object& privkey) constTest if the given password can decrypt the given private key object.ParameterpasswordprivkeyDescriptionThe password to be tested.The private key object to be decrypted.Returnstrue if decryption is successful, false if not.110 VisiBroker Security Guide

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

Saved successfully!

Ooh no, something went wrong!