Table of Contents

Class CamelliaCcm

Namespace
CryptoHives.Foundation.Security.Cryptography.Cipher
Assembly
CryptoHives.Foundation.Security.Cryptography.dll

Camellia-CCM authenticated encryption (Camellia per RFC 3713; used in IPsec by RFC 5528).

public sealed class CamelliaCcm : CcmCipher, IAeadCipher, IDisposable
Inheritance
CamelliaCcm
Implements
Inherited Members

Constructors

CamelliaCcm(ReadOnlySpan<byte>)

Initializes a new instance of the CamelliaCcm class.

public CamelliaCcm(ReadOnlySpan<byte> key)

Parameters

key ReadOnlySpan<byte>

The 16, 24, or 32-byte Camellia key.

Exceptions

ArgumentException

The key has the wrong length.

Properties

AlgorithmName

Gets the algorithm name.

public override string AlgorithmName { get; }

Property Value

string

Methods

Create(ReadOnlySpan<byte>)

Creates a new Camellia-CCM instance.

public static CamelliaCcm Create(ReadOnlySpan<byte> key)

Parameters

key ReadOnlySpan<byte>

The 16, 24, or 32-byte Camellia key.

Returns

CamelliaCcm

A new Camellia-CCM instance.