Class KeyChainOptions
Configuration options for the KeyChain.
Inherited Members
Namespace: Ipfs.Engine.Cryptography
Assembly: Ipfs.Engine.dll
Syntax
public class KeyChainOptions
Properties
| Improve this Doc View SourceDefaultKeySize
The default key size, when generating a RSA key.
Declaration
public int DefaultKeySize { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The size in bits. Defaults to 2048. |
DefaultKeyType
The default key type, when generating a key.
Declaration
public string DefaultKeyType { get; set; }
Property Value
Type | Description |
---|---|
String | "rsa", "ed25519" or "secp256k1". Defaults to "rsa". |
Dek
The defaults for the derived encryption key.
Declaration
public KeyChainDekOptions Dek { get; set; }
Property Value
Type | Description |
---|---|
KeyChainDekOptions | The options to generated a DEK. |
Remarks
The derived encryption key is used to store the encrypted keys. Theses options can not change once the key chain is created.