Back to product page
- Introduction
- License Agreement
- Objects
- Certificate
- Methods
- Properties
- BitCount
- CommonName
- Country
- Data
- FriendlyName
- Handle
- HasPrivateKey
- Issuer
- IssuerCommonName
- IssuerCountry
- IssuerEmail
- IssuerLocality
- IssuerOrganization
- IssuerState
- IssuerText
- IssuerUnit
- Locality
- Organization
- PrivateKey
- PublicKey
- PublicKeyOpenSSH
- PublicKeyRSA1
- PublicKeySSH
- SerialNumber
- SerialNumberDec
- SerialNumberHex
- State
- Text
- Unit
- ValidFrom
- ValidTo
- Version
- Certificates
- CertLocation
- CertStores
- Enumerations
- Certificate
- How to get support?
- Tehnical information
- Error list
Load method
Loads certificate from the file.
Type
NoneSyntax
- Basic
object.Load Filename, [Password]
The Load(object,Filename,Password) syntax has these parts:
The Load(object,Filename,Password) syntax has these parts:
object | An expression evaluating to an object of type Certificate. |
Filename | Required. A String value. Full path to certificate file on local computer. |
Password | Optional. A Variant value. Password to open saved certificate. |
Remarks
Load method will try to load in memory previously saved certificate (using Save method, or with some 3rd party program). File should be accessible and readable by yourself in a time when Load is requested.If Load is successful, Certificate will discard old one (if any) stored in memory. Any data not previously saved will be lost.
Saved certificates should be in PEM format - base64 encoded data surrounded by header lines. It is widely supported by both OpenSSL and MS CryptoAPI.
Since version 1.1.0.5, wodCertificate can also load PKCS12 PFX files. Since those files may contain more than one certificate, it is advised you should use LoadKey first to load private key from PFX file, and then call this method on same file. wodCertificate will load matching certificate only, if found.