Write an internal EC key to an output string.
Public Function eccWriteKey ( _ szKeyString As String, _ Optional nOptions As Long = 0 _ ) As String
PKI_DEFAULT (0) to save the key in the default format. PKI_KEY_TYPE_PKCS8 to save a NIST/SEC curve private key in PKCS#8 format.and optionally add any of
PKI_KEY_LEGACY to save a safe key in "legacy" PKCS#8 v1 format (default is v2 OneAsymmetricKey). PKI_KEY_COMPRESS to save an ECDSA public key in compressed format (default is uncompressed)