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 |
---|---|---|
System.ReadOnlyMemory<System.Byte> | encodedPrivateKey | The PIV TLV encoding. |
Returns
A new instance of a PivRsaPrivateKey object based on the encoding.