You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
222 lines
14 KiB
222 lines
14 KiB
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Microsoft.AspNetCore.DataProtection.Abstractions</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.ExceptionExtensions.RequiresHomogenization(System.Exception)">
|
|
<summary>
|
|
Determines whether an exception must be homogenized by being wrapped inside a
|
|
CryptographicException before being rethrown.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions">
|
|
<summary>
|
|
Helpful extension methods for data protection APIs.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.Collections.Generic.IEnumerable{System.String})">
|
|
<summary>
|
|
Creates an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> given a list of purposes.
|
|
</summary>
|
|
<param name="provider">The <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/> from which to generate the purpose chain.</param>
|
|
<param name="purposes">The list of purposes which contribute to the purpose chain. This list must
|
|
contain at least one element, and it may not contain null elements.</param>
|
|
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> tied to the provided purpose chain.</returns>
|
|
<remarks>
|
|
This is a convenience method which chains together several calls to
|
|
<see cref="M:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(System.String)"/>. See that method's
|
|
documentation for more information.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.String,System.String[])">
|
|
<summary>
|
|
Creates an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> given a list of purposes.
|
|
</summary>
|
|
<param name="provider">The <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/> from which to generate the purpose chain.</param>
|
|
<param name="purpose">The primary purpose used to create the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/>.</param>
|
|
<param name="subPurposes">An optional list of secondary purposes which contribute to the purpose chain.
|
|
If this list is provided it cannot contain null elements.</param>
|
|
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> tied to the provided purpose chain.</returns>
|
|
<remarks>
|
|
This is a convenience method which chains together several calls to
|
|
<see cref="M:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(System.String)"/>. See that method's
|
|
documentation for more information.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider(System.IServiceProvider)">
|
|
<summary>
|
|
Retrieves an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/> from an <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<param name="services">The service provider from which to retrieve the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/>.</param>
|
|
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/>. This method is guaranteed never to return null.</returns>
|
|
<exception cref="T:System.InvalidOperationException">If no <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/> service exists in <paramref name="services"/>.</exception>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtector(System.IServiceProvider,System.Collections.Generic.IEnumerable{System.String})">
|
|
<summary>
|
|
Retrieves an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> from an <see cref="T:System.IServiceProvider"/> given a list of purposes.
|
|
</summary>
|
|
<param name="services">An <see cref="T:System.IServiceProvider"/> which contains the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/>
|
|
from which to generate the purpose chain.</param>
|
|
<param name="purposes">The list of purposes which contribute to the purpose chain. This list must
|
|
contain at least one element, and it may not contain null elements.</param>
|
|
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> tied to the provided purpose chain.</returns>
|
|
<remarks>
|
|
This is a convenience method which calls <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider(System.IServiceProvider)"/>
|
|
then <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.Collections.Generic.IEnumerable{System.String})"/>. See those methods'
|
|
documentation for more information.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtector(System.IServiceProvider,System.String,System.String[])">
|
|
<summary>
|
|
Retrieves an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> from an <see cref="T:System.IServiceProvider"/> given a list of purposes.
|
|
</summary>
|
|
<param name="services">An <see cref="T:System.IServiceProvider"/> which contains the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"/>
|
|
from which to generate the purpose chain.</param>
|
|
<param name="purpose">The primary purpose used to create the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/>.</param>
|
|
<param name="subPurposes">An optional list of secondary purposes which contribute to the purpose chain.
|
|
If this list is provided it cannot contain null elements.</param>
|
|
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> tied to the provided purpose chain.</returns>
|
|
<remarks>
|
|
This is a convenience method which calls <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider(System.IServiceProvider)"/>
|
|
then <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.String,System.String[])"/>. See those methods'
|
|
documentation for more information.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Protect(Microsoft.AspNetCore.DataProtection.IDataProtector,System.String)">
|
|
<summary>
|
|
Cryptographically protects a piece of plaintext data.
|
|
</summary>
|
|
<param name="protector">The data protector to use for this operation.</param>
|
|
<param name="plaintext">The plaintext data to protect.</param>
|
|
<returns>The protected form of the plaintext data.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Unprotect(Microsoft.AspNetCore.DataProtection.IDataProtector,System.String)">
|
|
<summary>
|
|
Cryptographically unprotects a piece of protected data.
|
|
</summary>
|
|
<param name="protector">The data protector to use for this operation.</param>
|
|
<param name="protectedData">The protected data to unprotect.</param>
|
|
<returns>The plaintext form of the protected data.</returns>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
Thrown if <paramref name="protectedData"/> is invalid or malformed.
|
|
</exception>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider">
|
|
<summary>
|
|
An interface that can be used to create <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> instances.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(System.String)">
|
|
<summary>
|
|
Creates an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> given a purpose.
|
|
</summary>
|
|
<param name="purpose">
|
|
The purpose to be assigned to the newly-created <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/>.
|
|
</param>
|
|
<returns>An IDataProtector tied to the provided purpose.</returns>
|
|
<remarks>
|
|
The <paramref name="purpose"/> parameter must be unique for the intended use case; two
|
|
different <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector"/> instances created with two different <paramref name="purpose"/>
|
|
values will not be able to decipher each other's payloads. The <paramref name="purpose"/> parameter
|
|
value is not intended to be kept secret.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.DataProtection.IDataProtector">
|
|
<summary>
|
|
An interface that can provide data protection services.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.IDataProtector.Protect(System.Byte[])">
|
|
<summary>
|
|
Cryptographically protects a piece of plaintext data.
|
|
</summary>
|
|
<param name="plaintext">The plaintext data to protect.</param>
|
|
<returns>The protected form of the plaintext data.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.IDataProtector.Unprotect(System.Byte[])">
|
|
<summary>
|
|
Cryptographically unprotects a piece of protected data.
|
|
</summary>
|
|
<param name="protectedData">The protected data to unprotect.</param>
|
|
<returns>The plaintext form of the protected data.</returns>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
Thrown if the protected data is invalid or malformed.
|
|
</exception>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.WebEncoders.Base64UrlDecode(System.String)">
|
|
<summary>
|
|
Decodes a base64url-encoded string.
|
|
</summary>
|
|
<param name="input">The base64url-encoded input to decode.</param>
|
|
<returns>The base64url-decoded form of the input.</returns>
|
|
<remarks>
|
|
The input must not contain any whitespace or padding characters.
|
|
Throws FormatException if the input is malformed.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.WebEncoders.Base64UrlEncode(System.Byte[])">
|
|
<summary>
|
|
Encodes an input using base64url encoding.
|
|
</summary>
|
|
<param name="input">The binary input to encode.</param>
|
|
<returns>The base64url-encoded form of the input.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator">
|
|
<summary>
|
|
Provides information used to discriminate applications.
|
|
</summary>
|
|
<remarks>
|
|
This type supports the data protection system and is not intended to be used
|
|
by consumers.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator.Discriminator">
|
|
<summary>
|
|
An identifier that uniquely discriminates this application from all other
|
|
applications on the machine.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.CryptCommon_PayloadInvalid">
|
|
<summary>
|
|
The payload was invalid.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.FormatCryptCommon_PayloadInvalid">
|
|
<summary>
|
|
The payload was invalid.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.DataProtectionExtensions_NullPurposesCollection">
|
|
<summary>
|
|
The purposes collection cannot be null or empty and cannot contain null elements.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.FormatDataProtectionExtensions_NullPurposesCollection">
|
|
<summary>
|
|
The purposes collection cannot be null or empty and cannot contain null elements.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.CryptCommon_GenericError">
|
|
<summary>
|
|
An error occurred during a cryptographic operation.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.FormatCryptCommon_GenericError">
|
|
<summary>
|
|
An error occurred during a cryptographic operation.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.DataProtectionExtensions_NoService">
|
|
<summary>
|
|
No service for type '{0}' has been registered.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.AspNetCore.DataProtection.Abstractions.Resources.FormatDataProtectionExtensions_NoService(System.Object)">
|
|
<summary>
|
|
No service for type '{0}' has been registered.
|
|
</summary>
|
|
</member>
|
|
</members>
|
|
</doc>
|