4 implementations of IAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptor.cs (1)
14
public sealed class AuthenticatedEncryptorDescriptor :
IAuthenticatedEncryptorDescriptor
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (1)
16
public sealed class CngCbcAuthenticatedEncryptorDescriptor :
IAuthenticatedEncryptorDescriptor
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
16
public sealed class CngGcmAuthenticatedEncryptorDescriptor :
IAuthenticatedEncryptorDescriptor
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptor.cs (1)
15
public sealed class ManagedAuthenticatedEncryptorDescriptor :
IAuthenticatedEncryptorDescriptor
45 references to IAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (45)
AuthenticatedEncryption\ConfigurationModel\AlgorithmConfiguration.cs (4)
7
/// A factory for producing <see cref="
IAuthenticatedEncryptorDescriptor
"/>.
14
/// Creates a new <see cref="
IAuthenticatedEncryptorDescriptor
"/> instance based on this
18
/// <returns>A unique <see cref="
IAuthenticatedEncryptorDescriptor
"/>.</returns>
19
public abstract
IAuthenticatedEncryptorDescriptor
CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorConfiguration.cs (2)
32
public override
IAuthenticatedEncryptorDescriptor
CreateNewDescriptor()
38
IAuthenticatedEncryptorDescriptor
IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (1)
21
public
IAuthenticatedEncryptorDescriptor
ImportFromXml(XElement element)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (2)
77
public override
IAuthenticatedEncryptorDescriptor
CreateNewDescriptor()
83
IAuthenticatedEncryptorDescriptor
IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
22
public
IAuthenticatedEncryptorDescriptor
ImportFromXml(XElement element)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfiguration.cs (2)
53
public override
IAuthenticatedEncryptorDescriptor
CreateNewDescriptor()
59
IAuthenticatedEncryptorDescriptor
IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
22
public
IAuthenticatedEncryptorDescriptor
ImportFromXml(XElement element)
AuthenticatedEncryption\ConfigurationModel\IAuthenticatedEncryptorDescriptorDeserializer.cs (3)
10
/// The basic interface for deserializing an XML element into an <see cref="
IAuthenticatedEncryptorDescriptor
"/>.
18
/// <returns>The <see cref="
IAuthenticatedEncryptorDescriptor
"/> represented by <paramref name="element"/>.</returns>
19
IAuthenticatedEncryptorDescriptor
ImportFromXml(XElement element);
AuthenticatedEncryption\ConfigurationModel\IInternalAlgorithmConfiguration.cs (3)
7
/// A type that knows how to create instances of an <see cref="
IAuthenticatedEncryptorDescriptor
"/>
17
/// Creates a new <see cref="
IAuthenticatedEncryptorDescriptor
"/> instance from this configuration
20
IAuthenticatedEncryptorDescriptor
CreateDescriptorFromSecret(ISecret secret);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (2)
56
public override
IAuthenticatedEncryptorDescriptor
CreateNewDescriptor()
62
IAuthenticatedEncryptorDescriptor
IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (1)
21
public
IAuthenticatedEncryptorDescriptor
ImportFromXml(XElement element)
AuthenticatedEncryption\ConfigurationModel\XmlExtensions.cs (1)
22
/// to storage. Use when implementing <see cref="
IAuthenticatedEncryptorDescriptor
.ExportToXml"/>.
AuthenticatedEncryption\ConfigurationModel\XmlSerializedDescriptorInfo.cs (3)
12
/// <see cref="
IAuthenticatedEncryptorDescriptor
"/> along with the type that can be used
20
/// <param name="serializedDescriptorElement">The XML-serialized form of the <see cref="
IAuthenticatedEncryptorDescriptor
"/>.</param>
46
/// An XML-serialized representation of an <see cref="
IAuthenticatedEncryptorDescriptor
"/>.
KeyManagement\IKey.cs (2)
49
/// Gets the <see cref="
IAuthenticatedEncryptorDescriptor
"/> instance associated with this key.
51
IAuthenticatedEncryptorDescriptor
Descriptor { get; }
KeyManagement\Internal\IInternalXmlKeyManager.cs (1)
27
IAuthenticatedEncryptorDescriptor
DeserializeDescriptorFromKeyElement(XElement keyElement);
KeyManagement\Key.cs (10)
20
private
IAuthenticatedEncryptorDescriptor
? _descriptor;
24
private readonly Func<
IAuthenticatedEncryptorDescriptor
>? _descriptorFactory; // May not be used
32
/// The basic implementation of <see cref="IKey"/>, where the <see cref="
IAuthenticatedEncryptorDescriptor
"/>
40
IAuthenticatedEncryptorDescriptor
descriptor,
83
Func<
IAuthenticatedEncryptorDescriptor
>? descriptorFactory)
101
IAuthenticatedEncryptorDescriptor
? descriptor,
102
Func<
IAuthenticatedEncryptorDescriptor
>? descriptorFactory,
126
public
IAuthenticatedEncryptorDescriptor
Descriptor
223
private static Func<
IAuthenticatedEncryptorDescriptor
> GetLazyDescriptorDelegate(IInternalXmlKeyManager keyManager, XElement keyElement)
240
IAuthenticatedEncryptorDescriptor
GetLazyDescriptorDelegate()
KeyManagement\KeyManagementOptions.cs (1)
142
/// the <see cref="
IAuthenticatedEncryptorDescriptor
"/> instance.
KeyManagement\XmlKeyManager.cs (5)
517
var
newDescriptor = _authenticatedEncryptorConfiguration.CreateNewDescriptor()
518
?? CryptoUtil.Fail<
IAuthenticatedEncryptorDescriptor
>("CreateNewDescriptor returned null.");
571
IAuthenticatedEncryptorDescriptor
IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement)
583
var
descriptorInstance = deserializerInstance.ImportFromXml(unencryptedInputToDeserializer);
585
return descriptorInstance ?? CryptoUtil.Fail<
IAuthenticatedEncryptorDescriptor
>("ImportFromXml returned null.");