Show / Hide Table of Contents

Class KeyChainOptions

Configuration options for the KeyChain.

Inheritance
Object
KeyChainOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Ipfs.Engine.Cryptography
Assembly: Ipfs.Engine.dll
Syntax
public class KeyChainOptions

Properties

| Improve this Doc View Source

DefaultKeySize

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.

| Improve this Doc View Source

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".

| Improve this Doc View Source

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.

See Also

Options
  • Improve this Doc
  • View Source
Back to top Generated by DocFX