4 implementations of IAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptor.cs (1)
14public sealed class AuthenticatedEncryptorDescriptor : IAuthenticatedEncryptorDescriptor
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (1)
16public sealed class CngCbcAuthenticatedEncryptorDescriptor : IAuthenticatedEncryptorDescriptor
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
16public sealed class CngGcmAuthenticatedEncryptorDescriptor : IAuthenticatedEncryptorDescriptor
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptor.cs (1)
15public 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> 19public abstract IAuthenticatedEncryptorDescriptor CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorConfiguration.cs (2)
32public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor() 38IAuthenticatedEncryptorDescriptor IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (1)
21public IAuthenticatedEncryptorDescriptor ImportFromXml(XElement element)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (2)
77public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor() 83IAuthenticatedEncryptorDescriptor IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
22public IAuthenticatedEncryptorDescriptor ImportFromXml(XElement element)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfiguration.cs (2)
53public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor() 59IAuthenticatedEncryptorDescriptor IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
22public 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> 19IAuthenticatedEncryptorDescriptor 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 20IAuthenticatedEncryptorDescriptor CreateDescriptorFromSecret(ISecret secret);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (2)
56public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor() 62IAuthenticatedEncryptorDescriptor IInternalAlgorithmConfiguration.CreateDescriptorFromSecret(ISecret secret)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (1)
21public 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. 51IAuthenticatedEncryptorDescriptor Descriptor { get; }
KeyManagement\Internal\IInternalXmlKeyManager.cs (1)
27IAuthenticatedEncryptorDescriptor DeserializeDescriptorFromKeyElement(XElement keyElement);
KeyManagement\Key.cs (10)
20private IAuthenticatedEncryptorDescriptor? _descriptor; 24private readonly Func<IAuthenticatedEncryptorDescriptor>? _descriptorFactory; // May not be used 32/// The basic implementation of <see cref="IKey"/>, where the <see cref="IAuthenticatedEncryptorDescriptor"/> 40IAuthenticatedEncryptorDescriptor descriptor, 83Func<IAuthenticatedEncryptorDescriptor>? descriptorFactory) 101IAuthenticatedEncryptorDescriptor? descriptor, 102Func<IAuthenticatedEncryptorDescriptor>? descriptorFactory, 126public IAuthenticatedEncryptorDescriptor Descriptor 223private static Func<IAuthenticatedEncryptorDescriptor> GetLazyDescriptorDelegate(IInternalXmlKeyManager keyManager, XElement keyElement) 240IAuthenticatedEncryptorDescriptor GetLazyDescriptorDelegate()
KeyManagement\KeyManagementOptions.cs (1)
142/// the <see cref="IAuthenticatedEncryptorDescriptor"/> instance.
KeyManagement\XmlKeyManager.cs (5)
517var newDescriptor = _authenticatedEncryptorConfiguration.CreateNewDescriptor() 518?? CryptoUtil.Fail<IAuthenticatedEncryptorDescriptor>("CreateNewDescriptor returned null."); 571IAuthenticatedEncryptorDescriptor IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement) 583var descriptorInstance = deserializerInstance.ImportFromXml(unencryptedInputToDeserializer); 585return descriptorInstance ?? CryptoUtil.Fail<IAuthenticatedEncryptorDescriptor>("ImportFromXml returned null.");