BindSSLCert Method
Description
Binds a certificate by detecting it using both the Issuer and the Serial number fields of the certificate.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V6.1 | Since V6.1 | Since V6.4 |
Syntax
Boolean ObjectName.BindSSLCert(string CertIssuer, string CertSerialNumber)
Parameters
CertIssuer: specifies the issuer of the certificate
CertSerialNumber: specifies the serial number of the certificate
Return value
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
Remarks
If the Issuer is
CN = VeriSign Secure Server
OU = Terms of use at www.yoursite.com
OU = VeriSign Trust Network
O = VeriSign, Inc.
C = US
12 21 2f 5a 8c 15 aa dc 61 bb b1 36 23
then you should use the method like:
Webcam.BindSSLCert("C = US,O = \"VeriSign, Inc.\",OU = \"VeriSign Trust Network\",OU = \"Terms of use at www.yoursite.com\",CN = \"VeriSign Secure Server \"", "12 21 2f 5a 8c 15 aa dc 61 bb b1 36 23");
Please NOTE that the items of Issuer are inverted.
See also
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.
