Table of Contents

Enum CoseKeyOperations

Namespace
Yubico.YubiKey.Fido2.Cose
Assembly
Yubico.YubiKey.dll

An enumeration of the operations that one can potentially perform with a COSE key.

public enum CoseKeyOperations

Fields

Decrypt = 4

The key is used for key transport decryption. Requires private key fields.

DeriveBits = 8

The key is used for deriving bits not to be used as a key. Requires private key fields.

DeriveKey = 7

The key is used for deriving keys. Requires private key fields.

Encrypt = 3

The key is used for key transport encryption.

MacCreate = 9

The key is used for creating MACs.

MacVerify = 10

The key is used for validating MACs.

None = 0

The operation could not be determined.

Sign = 1

The key is used to create signatures. Requires private key fields.

UnwrapKey = 6

The key is used for key wrap decryption.

Verify = 2

The key is used for verification of signatures.

WrapKey = 5

The key is used for key wrap encryption.