VerificationOptionsAddTrustedCertificate Method (String, UInt64) |
Adds a certificate to the store of trusted certificates inside this options object, by loading it from a file.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void AddTrustedCertificate(
string in_filepath,
ulong in_trust_flags
)
Public Sub AddTrustedCertificate (
in_filepath As String,
in_trust_flags As ULong
)
public:
virtual void AddTrustedCertificate(
[InAttribute] String^ in_filepath,
[InAttribute] unsigned long long in_trust_flags
) sealed
function AddTrustedCertificate(in_filepath, in_trust_flags);
Parameters
- in_filepath
- Type: SystemString
a path to a file containing the data of an X.509 public-key certificate encoded in binary DER (Distinguished Encoding Rules) format, or in PEM (appropriate Privacy-Enhanced Mail header+Base64 encoded DER+appropriate footer) format - in_trust_flags
- Type: SystemUInt64
a combination of trust flags (see enum CertificateTrustFlag) that determine for which situations this certificate should be trusted during trust verification.
See Also