CreateRsaPrivateKey Method
CreateRsaPrivateKey(ReadOnlyMemory<byte>)
Create a new instance of an RSA private key object based on the encoding.
C#
public static PivRsaPrivateKey CreateRsaPrivateKey(ReadOnlyMemory<byte> encodedPrivateKey)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyMemory<byte> | encodedPrivateKey | The PIV TLV encoding. |
Returns
A new instance of a PivRsaPrivateKey object based on the encoding.