IKeyEscrowSink Interface

The basic interface for implementing a key escrow sink.

Namespace
Microsoft.AspNetCore.DataProtection.KeyManagement
Assemblies
  • Microsoft.AspNetCore.DataProtection

Syntax

public interface IKeyEscrowSink
interface Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink

Methods

Store(System.Guid, System.Xml.Linq.XElement)

Stores the given key material to the escrow service.

Arguments:
  • keyId (System.Guid) – The id of the key being persisted to escrow.
  • element (System.Xml.Linq.XElement) – The unencrypted XML element that comprises the key material.
void Store(Guid keyId, XElement element)