Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
primcapiprivatekey
primcapiprivatekey
PRIM_CAPI.PrivateKey (PRIM_CAPI.PrivateKey)

Panel
bgColor#2c3c4c

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)

...

Name

Description

CreateInstance

CreateInstance is signalled signaled when an instance of a component is created [Inherited from PRIM_CAPI.PrivateKey (PRIM_CAPI.PrivateKey)

DestroyInstance

DestroyInstance is signalled signaled when an instance of a component is about to be destroyed [Inherited from PRIM_CAPI.PrivateKey (PRIM_CAPI.PrivateKey)

Methods

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

...