PrivateKeyInfo Constructor
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9448)
PrivateKeyInfo()
Creates a new instance of PrivateKeyInfo. Use the Load(Stream, String) method to load a private key.
Declaration
public PrivateKeyInfo()
PrivateKeyInfo(PrivateKeyInfo)
Creates a new instance of PrivateKeyInfo that clones the supplied instance.
Declaration
protected PrivateKeyInfo(PrivateKeyInfo key)
Parameters
| Type | Name | Description |
|---|---|---|
| PrivateKeyInfo | key |
PrivateKeyInfo(RSAParameters)
Creates a new instance of PrivateKeyInfo based on the specified RSA parameters.
Declaration
public PrivateKeyInfo(RSAParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| RSAParameters | parameters | RSA parameters including private keys. |
PrivateKeyInfo(DSAParameters)
Creates a new instance of PrivateKeyInfo based on the specified DSA parameters.
Declaration
public PrivateKeyInfo(DSAParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| DSAParameters | parameters | DSA parameters including private keys. |