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
Handle property
Returns MS PCCERT_CONTEXT handle.
Type
A Long value. Should be converted to PCCERT_CONTEXT handle.Syntax
- Basic
object.Handle [= value]
The Handle(object,value) syntax has these parts:
The Handle(object,value) syntax has these parts:
object | An expression evaluating to an object of type Certificate. |
value | A Long value. |
Remarks
Each loaded certificate can be easily passed to MS CryptoAPI just by getting its PCCERT_CONTEXT handle. Handle property will return long value - you should cast it to appropriate type and pass to MS functions (such as CertDuplicateCertificateContext).Going other way - if you have PCCERT_CONTEXT handle, you can pass its value to Handle property and Certificate object will load it in memory for you - parsing subject fields and allowing to do operations supported by Certificate object.