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
Save method
Saves certificate to the file.
Type
NoneSyntax
- Basic
object.Save Filename, [Password]
The Save(object,Filename,Password) syntax has these parts:
The Save(object,Filename,Password) syntax has these parts:
object | An expression evaluating to an object of type Certificate. |
Filename | Required. A String value. Full path for certificate file. |
Password | Optional. A Variant value. Password to protect saved certificate. |
Remarks
Save method will store contents of the certificate from memory to a file on your disk drive. Certificate is saved using PEM format, and such can be loaded to any OpenSSL-enabled engine. Even more, if you rename it to having extension CER, double-click on it will show it as regular certificate recognizable by windows CryptoAPI. To import such certificate into Windows certificate store, just right-click to it and select 'Install'.Specifying password is not necessary, because certificate itself does not contain any private information - it is purely informative to the public with your personal information on it, signed by some CA (certificate authority).
Written file contains only ASCII characters. It holds data base64 encoded.