CertMgr Component
Properties Methods Events Configuration Settings Errors
The CertMgr component is used to manage the digital certificates installed on a system.
Syntax
nsoftware.IPWorksEDI.Certmgr
Remarks
The component methods, such as ListCertificateStores or ListStoreCertificates, are used to list certificate stores and certificates. The corresponding lists are returned via the StoreList and CertList events. Encoded certificates are provided through the events.
You can load a certificate by setting the Cert property of the component, then you can get information about the certificate through the corresponding fields of the Cert property (described below).
The Subject, SerialNumber, and Issuer fields identify the certificate. The EffectiveDate and ExpirationDate show the time boundaries of the certificate.
PublicKey, PublicKeyAlgorithm, PublicKeyLength, and Version provide information about the certificate keys and the certificate format (version).
UsageFlags specifies the intended usage of the certificate. The Usage field provides a text description of these flags.
Property List
The following is the full list of the properties of the component with short descriptions. Click on the links for further details.
Cert | The current selected certificate. |
CertExtensions | A list of extensions used by the currently selected certificate. |
CertStore | The certificate store to search for certificates. |
CertStorePassword | The password for the certificate store (if any). |
CertStoreType | The type of certificate store for CertStore . |
ExportedCert | The exported certificate string. |
ExportFormat | The format to which the certficate is exported. |
ExportPrivateKey | Whether to export the private key. |
Method List
The following is the full list of the methods of the component with short descriptions. Click on the links for further details.
Config | Sets or retrieves a configuration setting. |
CreateCertificate | Creates a new self-signed certificate in the current store. |
CreateKey | Creates a new keyset associated with the provided name. |
DeleteCertificate | Deletes the currently selected certificate from the store. |
DeleteKey | Deletes the keyset associated with the provided name. |
ExportCertificate | Exports the currently selected certificate. |
GenerateCSR | Generates a new CSR to be sent to a signing authority. |
ImportCertificate | Imports a certificate from a file into the current certificate store. |
ImportSignedCSR | Imports a signed CSR. |
IssueCertificate | Creates a new certificate in the current store, signed by the selected certificate. |
ListCertificateStores | Lists certificate stores. |
ListKeys | List keysets in a CSP. |
ListMachineStores | List machine certificate stores. |
ListStoreCertificates | List certificates in a store. |
ReadCertificate | Loads a certificate from a file. |
ReadCSR | Reads a Certificate Signing Request (CSR). |
Reset | Resets all certificate properties to their default values. |
SaveCertificate | This method saves the currently selected public certificate to a file. |
ShowCertificateChain | Show certificate chain. |
SignCSR | Creates a signed certificate from a CSR. |
Event List
The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.
CertChain | Shows the certificate chain for the certificate (see the ShowCertificateChain method). |
CertList | Lists the certificates in a store (see the ListStoreCertificates method). |
Error | Information about errors during data delivery. |
KeyList | Lists the keysets in a CSP (see the ListKeys method). |
Log | Fires once for each log message. |
StoreList | Lists the system certificate stores (see the ListCertificateStores and ListMachineStores methods). |
Configuration Settings
The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.
CertComment | A comment to include in a saved certificate. |
CertExtendedKeyUsage | The extended key usage of the certificate. |
CertKeyLength | The public key length for created certificates and keys. |
CertKeyType | The types of keys created for new certificates. |
CertPublicKeyAlgorithm | The public key algorithm used when a certificate is created. |
CertSignatureAlgorithm | The signature algorithm used when creating certificates. |
CertSubjectAltNames | Subject Alternative Names for creating or issuing certificates. |
CertUsageFlags | Sets the flags indicating the usage of the created certificate. |
CertValidityOffset | The number of days until the certificate becomes valid. |
CertValidityTime | The validity period for the certificate. |
CreatedKey | The PKCS8 formatted private and public key pair created after calling CreateKey. |
CSP | The Cryptographic Service Provider. |
CSRKey | The PKCS8 formatted private key to use when generating a CSR. |
EncodeExportedCert | Whether the certificate being exported to a string is encoded. |
ImportCertAction | Specified the action to take if a matching certificate or a link to a matching certificate already exists. |
ImportCertStoreType | The type of certificate store being specified for import. |
JWKAlgorithm | The JWK algorithm. |
JWKExportX5C | Whether to export a certificate chain to the x5c parameter. |
JWKKeyId | The JWK key Id. |
JWKKeyOps | The JWK intended key operations list. |
JWKUse | The JWK use parameter value. |
KeyFormat | How the public and private key are formatted. |
LogLevel | The level of detail that is logged. |
ReplaceKey | Whether or not to replace an existing key when creating a new key. |
RequestSubjectAltNames | Subject Alternative Names for a Certificate Signing Request. |
X509Algorithm | Public Key Algorithm OID. |
X509SignatureAlgorithm | Signature Algorithm OID. |
BuildInfo | Information about the product's build. |
GUIAvailable | Tells the component whether or not a message loop is available for processing events. |
LicenseInfo | Information about the current license. |
UseInternalSecurityAPI | Tells the component whether or not to use the system security libraries or an internal implementation. |