PRIM_CAPI.PrivateKey (PRIM_CAPI.PrivateKey)
Contains an RSA, DSA, or ECC private key. Provides methods for importing and exporting to/from PEM, DER, PKCS8, PKCS1, PVK, and XML formats. Private keys can be imported/exported to both memory and files.
Ancestors - Object (PRIM_OBJT)
No detailed help is available for this feature
| Name | Description |
|---|---|
| ComponentClassName | ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
| ComponentMembers | ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
| ComponentPatternName | ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
| ComponentTag | Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
| ComponentType | ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
| ComponentTypeName | ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
| Name | Name identifies the component Inherited from Object (PRIM_OBJT) |
| Owner | Owner owns this component Inherited from Object (PRIM_OBJT) |
| Parent | The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT) |
| PublicKey | Property that returns the public key portion of the private key as a public key object. |
| Name | Description |
|---|---|
| CreateInstance | CreateInstance is signalled when an instance of a component is created Inherited from PRIM_CAPI.PrivateKey (PRIM_CAPI.PrivateKey) |
| DestroyInstance | DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from PRIM_CAPI.PrivateKey (PRIM_CAPI.PrivateKey) |
| Name | Description |
|---|---|
| LoadEncryptedPemFile | Loads a private key from an encrypted PEM file. An encrypted PEM contains the private key in encrypted PKCS#8 format.
Result, Path, Password |
| LoadPemFile | Loads a private key from an unencrypted PEM file.
Result, Path |