1446 lines
85 KiB
XML
1446 lines
85 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Microsoft.Bcl.Cryptography</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:System.Security.Cryptography.SP800108HmacCounterKdf">
|
|
<summary>
|
|
NIST SP 800-108 HMAC CTR Key-Based Key Derivation (KBKDF)
|
|
</summary>
|
|
<remarks>
|
|
<para>
|
|
This implements NIST SP 800-108 HMAC in counter mode. The implemented KDF assumes the form of
|
|
<c>PRF (KI, [i]2 || Label || 0x00 || Context || [L]2)</c> where <c>[i]2</c> and <c>[L]2</c> are encoded as
|
|
unsigned 32-bit integers, big endian.
|
|
</para>
|
|
<para>
|
|
All members of this class are thread safe. If the instance is disposed of while other threads are using
|
|
the instance, those threads will either receive an <see cref="T:System.ObjectDisposedException" /> or produce a valid
|
|
derived key.
|
|
</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.#ctor(System.ReadOnlySpan{System.Byte},System.Security.Cryptography.HashAlgorithmName)">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:System.Security.Cryptography.SP800108HmacCounterKdf" /> using a specified key and HMAC algorithm.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.#ctor(System.Byte[],System.Security.Cryptography.HashAlgorithmName)">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:System.Security.Cryptography.SP800108HmacCounterKdf" /> using a specified key and HMAC algorithm.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="key" /> is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveBytes(System.Byte[],System.Security.Cryptography.HashAlgorithmName,System.Byte[],System.Byte[],System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="key" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="label" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="context" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveBytes(System.Byte[],System.Security.Cryptography.HashAlgorithmName,System.String,System.String,System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="key" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="label" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="context" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.Text.EncoderFallbackException">
|
|
<paramref name="label" /> or <paramref name="context" /> contains text that cannot be converted to UTF-8.
|
|
</exception>
|
|
<remarks>
|
|
<paramref name="label" /> and <paramref name="context" /> will be converted to bytes using the UTF-8 encoding.
|
|
for other encodings, perform the conversion using the desired encoding and use an overload which accepts the
|
|
label and context as a sequence of bytes.
|
|
</remarks>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveBytes(System.ReadOnlySpan{System.Byte},System.Security.Cryptography.HashAlgorithmName,System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveBytes(System.ReadOnlySpan{System.Byte},System.Security.Cryptography.HashAlgorithmName,System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
|
<summary>
|
|
Fills a buffer with a derived key.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="destination">The buffer which will receive the derived key.</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="destination" /> is larger than the maximum number of bytes that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveBytes(System.ReadOnlySpan{System.Byte},System.Security.Cryptography.HashAlgorithmName,System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.Text.EncoderFallbackException">
|
|
<paramref name="label" /> or <paramref name="context" /> contains text that cannot be converted to UTF-8.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
<remarks>
|
|
<paramref name="label" /> and <paramref name="context" /> will be converted to bytes using the UTF-8 encoding.
|
|
for other encodings, perform the conversion using the desired encoding and use an overload which accepts the
|
|
label and context as a sequence of bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveBytes(System.ReadOnlySpan{System.Byte},System.Security.Cryptography.HashAlgorithmName,System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.Span{System.Byte})">
|
|
<summary>
|
|
Fills a buffer with a derived key.
|
|
</summary>
|
|
<param name="key">The key-derivation key.</param>
|
|
<param name="hashAlgorithm">The HMAC algorithm.</param>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="destination">The buffer which will receive the derived key.</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="hashAlgorithm" /> has a <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> which is empty.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="destination" /> is larger than the maximum number of bytes that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
<paramref name="hashAlgorithm"/> is not a known or supported hash algorithm.
|
|
</exception>
|
|
<exception cref="T:System.Text.EncoderFallbackException">
|
|
<paramref name="label" /> or <paramref name="context" /> contains text that cannot be converted to UTF-8.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
The current platform does not have a supported implementation of HMAC.
|
|
</exception>
|
|
<remarks>
|
|
<paramref name="label" /> and <paramref name="context" /> will be converted to bytes using the UTF-8 encoding.
|
|
for other encodings, perform the conversion using the desired encoding and use an overload which accepts the
|
|
label and context as a sequence of bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveKey(System.Byte[],System.Byte[],System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="label" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="context" /> is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveKey(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveKey(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
|
<summary>
|
|
Fills a buffer with a derived key.
|
|
</summary>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="destination">The buffer which will receive the derived key.</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="label" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="context" /> is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="destination" /> is larger than the maximum number of bytes that can be derived.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveKey(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Text.EncoderFallbackException">
|
|
<paramref name="label" /> or <paramref name="context" /> contains text that cannot be converted to UTF-8.
|
|
</exception>
|
|
<remarks>
|
|
<paramref name="label" /> and <paramref name="context" /> will be converted to bytes using the UTF-8 encoding.
|
|
for other encodings, perform the conversion using the desired encoding and use an overload which accepts the
|
|
label and context as a sequence of bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveKey(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.Span{System.Byte})">
|
|
<summary>
|
|
Fills a buffer with a derived key.
|
|
</summary>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="destination">The buffer which will receive the derived key.</param>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="destination" /> is larger than the maximum number of bytes that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Text.EncoderFallbackException">
|
|
<paramref name="label" /> or <paramref name="context" /> contains text that cannot be converted to UTF-8.
|
|
</exception>
|
|
<remarks>
|
|
<paramref name="label" /> and <paramref name="context" /> will be converted to bytes using the UTF-8 encoding.
|
|
for other encodings, perform the conversion using the desired encoding and use an overload which accepts the
|
|
label and context as a sequence of bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.DeriveKey(System.String,System.String,System.Int32)">
|
|
<summary>
|
|
Derives a key of a specified length.
|
|
</summary>
|
|
<param name="label">The label that identifies the purpose for the derived key.</param>
|
|
<param name="context">The context containing information related to the derived key.</param>
|
|
<param name="derivedKeyLengthInBytes">The length of the derived key, in bytes.</param>
|
|
<returns>An array containing the derived key.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<para>
|
|
<paramref name="label" /> is <see langword="null" />.
|
|
</para>
|
|
<para> -or- </para>
|
|
<para>
|
|
<paramref name="context" /> is <see langword="null" />.
|
|
</para>
|
|
</exception>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
<paramref name="derivedKeyLengthInBytes" /> is negative or larger than the maximum number of bytes
|
|
that can be derived.
|
|
</exception>
|
|
<exception cref="T:System.Text.EncoderFallbackException">
|
|
<paramref name="label" /> or <paramref name="context" /> contains text that cannot be converted to UTF-8.
|
|
</exception>
|
|
<remarks>
|
|
<paramref name="label" /> and <paramref name="context" /> will be converted to bytes using the UTF-8 encoding.
|
|
for other encodings, perform the conversion using the desired encoding and use an overload which accepts the
|
|
label and context as a sequence of bytes.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.SP800108HmacCounterKdf.Dispose">
|
|
<summary>
|
|
Releases all resources used by the current instance of <see cref="T:System.Security.Cryptography.SP800108HmacCounterKdf"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits">
|
|
<summary>
|
|
Represents a set of constraints to apply when loading PKCS#12/PFX contents.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults">
|
|
<summary>
|
|
Gets a shared reference to the default loader limits.
|
|
</summary>
|
|
<remarks>
|
|
The singleton instance returned from this property is equivalent to an
|
|
instance produced via the default constructor, except the properties
|
|
prohibit reassignment. As with the default constructor, the individual
|
|
property values may change over time.
|
|
</remarks>
|
|
<value>A shared reference to the default loader limits.</value>
|
|
<seealso cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.IsReadOnly" />
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.DangerousNoLimits">
|
|
<summary>
|
|
Gets a shared reference to loader limits that indicate no
|
|
filtering or restrictions of the contents should be applied
|
|
before sending them to the underlying system loader.
|
|
</summary>
|
|
<value>
|
|
A shared reference to loader limits that indicate no
|
|
filtering or restrictions of the contents should be applied
|
|
before sending them to the underlying system loader.
|
|
</value>
|
|
<remarks>
|
|
<para>
|
|
The system loader may have its own limits where only part
|
|
of the contents are respected, or where the load is rejected.
|
|
Using this set of limits only affects the .NET layer of filtering.
|
|
</para>
|
|
<para>
|
|
The <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateLoader" /> class checks for reference
|
|
equality to this property to determine if filtering should be bypassed.
|
|
Making a new Pkcs12LoaderLimits value that has all of the same property
|
|
values may give different results for certain inputs.
|
|
</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits"/> class
|
|
with default values.
|
|
</summary>
|
|
<remarks>
|
|
The default values for each property on a default instance of this class
|
|
are chosen as a compromise between maximizing compatibility and minimizing
|
|
"nuisance" work. The defaults for any given property may vary over time.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.#ctor(System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits"/> class
|
|
by copying the values from another instance.
|
|
</summary>
|
|
<param name="copyFrom">The instance to copy the values from.</param>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="copyFrom"/> is <see langword="null" />.
|
|
</exception>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.IsReadOnly">
|
|
<summary>
|
|
Gets a value indicating whether the instance is read-only.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> if the instance is read-only; otherwise, <see langword="false" />.
|
|
</value>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.MakeReadOnly">
|
|
<summary>
|
|
Makes the <see cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits"/> instance read-only.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.MacIterationLimit">
|
|
<summary>
|
|
Gets or sets the iteration limit for the MAC calculation.
|
|
</summary>
|
|
<value>The iteration limit for the MAC calculation, or <see langword="null" /> for no limit.</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.IndividualKdfIterationLimit">
|
|
<summary>
|
|
Gets or sets the iteration limit for the individual Key Derivation Function (KDF) calculations.
|
|
</summary>
|
|
<value>
|
|
The iteration limit for the individual Key Derivation Function (KDF) calculations,
|
|
or <see langword="null" /> for no limit.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.TotalKdfIterationLimit">
|
|
<summary>
|
|
Gets or sets the total iteration limit for the Key Derivation Function (KDF) calculations.
|
|
</summary>
|
|
<value>
|
|
The total iteration limit for the Key Derivation Function (KDF) calculations,
|
|
or <see langword="null" /> for no limit.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.MaxKeys">
|
|
<summary>
|
|
Gets or sets the maximum number of keys permitted.
|
|
</summary>
|
|
<value>
|
|
The maximum number of keys permitted, or <see langword="null" /> for no maximum.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.MaxCertificates">
|
|
<summary>
|
|
Gets or sets the maximum number of certificates permitted.
|
|
</summary>
|
|
<value>
|
|
The maximum number of certificates permitted, or <see langword="null" /> for no maximum.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.PreserveStorageProvider">
|
|
<summary>
|
|
Gets or sets a value indicating whether to preserve the storage provider.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to respect the storage provider identifier for a
|
|
private key; <see langword="false" /> to ignore the storage provider
|
|
information and use the system defaults.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
<remarks>
|
|
Storage Provider values from the PFX are only processed on the
|
|
Microsoft Windows family of operating systems.
|
|
This property has no effect on non-Windows systems.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.PreserveKeyName">
|
|
<summary>
|
|
Gets or sets a value indicating whether to preserve the key name.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to respect the key name identifier for a
|
|
private key; <see langword="false" /> to ignore the key name
|
|
information and use a randomly generated identifier.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
<remarks>
|
|
Key name identifier values from the PFX are only processed on the
|
|
Microsoft Windows family of operating systems.
|
|
This property has no effect on non-Windows systems.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.PreserveCertificateAlias">
|
|
<summary>
|
|
Gets or sets a value indicating whether to preserve the certificate alias,
|
|
also known as the friendly name.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to respect the alias for a
|
|
certificate; <see langword="false" /> to ignore the alias
|
|
information.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
<remarks>
|
|
Certificate alias values from the PFX are only processed on the
|
|
Microsoft Windows family of operating systems.
|
|
This property has no effect on non-Windows systems.
|
|
</remarks>
|
|
<seealso cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.FriendlyName"/>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.PreserveUnknownAttributes">
|
|
<summary>
|
|
Gets or sets a value indicating whether to preserve unknown attributes.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to keep any attributes of a certificate or
|
|
private key that are not described by another property on this type intact
|
|
when invoking the system PKCS#12/PFX loader;
|
|
<see langword="false" /> to remove the unknown attributes prior to invoking
|
|
the system loader.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.IgnorePrivateKeys">
|
|
<summary>
|
|
Gets or sets a value indicating whether to ignore private keys.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to skip loading private keys;
|
|
<see langword="false" /> to load both certificates and private keys.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.IgnoreEncryptedAuthSafes">
|
|
<summary>
|
|
Gets or sets a value indicating whether to ignore encrypted authentication safes.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to skip over encrypted PFX AuthSafe values;
|
|
<see langword="false" /> to decrypt encrypted PFX AuthSafe values to process their
|
|
contents.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
</member>
|
|
<member name="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.AllowDuplicateAttributes">
|
|
<summary>
|
|
Gets or sets a value indicating whether duplicate attributes are permitted.
|
|
</summary>
|
|
<value>
|
|
<see langword="true" /> to permit duplicate attributes;
|
|
<see langword="false" /> to fail loading when duplicate attributes are found.
|
|
The default is <see langword="false" />.
|
|
</value>
|
|
</member>
|
|
<member name="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
<summary>
|
|
The exception that is thrown when importing a PKCS#12/PFX has failed
|
|
due to violating a specified limit.
|
|
</summary>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException"/>
|
|
class.
|
|
</summary>
|
|
<param name="propertyName">
|
|
The name of the property representing the limit that was exceeded.
|
|
</param>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadCertificate(System.ReadOnlySpan{System.Byte})">
|
|
<summary>
|
|
Loads a single X.509 certificate from <paramref name="data"/>, in either the PEM
|
|
or DER encoding.
|
|
</summary>
|
|
<param name="data">The data to load.</param>
|
|
<returns>
|
|
The certificate loaded from <paramref name="data"/>.
|
|
</returns>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
The data did not load as a valid X.509 certificate.
|
|
</exception>
|
|
<remarks>
|
|
This method only loads plain certificates, which are identified as
|
|
<see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" /> by <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.Byte[])"/>
|
|
</remarks>
|
|
<seealso cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.String)"/>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadCertificate(System.Byte[])">
|
|
<summary>
|
|
Loads a single X.509 certificate from <paramref name="data"/>, in either the PEM
|
|
or DER encoding.
|
|
</summary>
|
|
<param name="data">The data to load.</param>
|
|
<returns>
|
|
The certificate loaded from <paramref name="data"/>.
|
|
</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="data"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
The data did not load as a valid X.509 certificate.
|
|
</exception>
|
|
<remarks>
|
|
This method only loads plain certificates, which are identified as
|
|
<see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" /> by <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.Byte[])"/>
|
|
</remarks>
|
|
<seealso cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.String)"/>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadCertificateFromFile(System.String)">
|
|
<summary>
|
|
Loads a single X.509 certificate (in either the PEM or DER encoding)
|
|
from the specified file.
|
|
</summary>
|
|
<param name="path">The path of the file to open.</param>
|
|
<returns>
|
|
The loaded certificate.
|
|
</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="path"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
The data did not load as a valid X.509 certificate.
|
|
</exception>
|
|
<exception cref="T:System.IO.IOException">
|
|
An error occurred while loading the specified file.
|
|
</exception>
|
|
<remarks>
|
|
This method only loads plain certificates, which are identified as
|
|
<see cref="F:System.Security.Cryptography.X509Certificates.X509ContentType.Cert" /> by <see cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.String)"/>
|
|
</remarks>
|
|
<seealso cref="M:System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(System.String)"/>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Loads the provided data as a PKCS#12 PFX and extracts a certificate.
|
|
</summary>
|
|
<param name="data">The data to load.</param>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>The loaded certificate.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="data"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
<remarks>
|
|
A PKCS#12/PFX can contain multiple certificates.
|
|
Using the ordering that the certificates appear in the results of
|
|
<see cref="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12Collection(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Char},System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)" />,
|
|
this method returns the first
|
|
certificate where <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> is
|
|
<see langword="true" />.
|
|
If no certificates have associated private keys, then the first
|
|
certificate is returned.
|
|
If the PKCS#12/PFX contains no certificates, a
|
|
<see cref="T:System.Security.Cryptography.CryptographicException" /> is thrown.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Char},System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Loads the provided data as a PKCS#12 PFX and extracts a certificate.
|
|
</summary>
|
|
<param name="data">The data to load.</param>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>The loaded certificate.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="data"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
<remarks>
|
|
A PKCS#12/PFX can contain multiple certificates.
|
|
Using the ordering that the certificates appear in the results of
|
|
<see cref="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12Collection(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)" />,
|
|
this method returns the first
|
|
certificate where <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> is
|
|
<see langword="true" />.
|
|
If no certificates have associated private keys, then the first
|
|
certificate is returned.
|
|
If the PKCS#12/PFX contains no certificates, a
|
|
<see cref="T:System.Security.Cryptography.CryptographicException" /> is thrown.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12FromFile(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate.
|
|
</summary>
|
|
<param name="path">The path of the file to open.</param>
|
|
<returns>
|
|
The loaded certificate.
|
|
</returns>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>The loaded certificate.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="path"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
<exception cref="T:System.IO.IOException">
|
|
An error occurred while loading the specified file.
|
|
</exception>
|
|
<remarks>
|
|
A PKCS#12/PFX can contain multiple certificates.
|
|
Using the ordering that the certificates appear in the results of
|
|
<see cref="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12CollectionFromFile(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)" />,
|
|
this method returns the first
|
|
certificate where <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> is
|
|
<see langword="true" />.
|
|
If no certificates have associated private keys, then the first
|
|
certificate is returned.
|
|
If the PKCS#12/PFX contains no certificates, a
|
|
<see cref="T:System.Security.Cryptography.CryptographicException" /> is thrown.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12FromFile(System.String,System.ReadOnlySpan{System.Char},System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate.
|
|
</summary>
|
|
<param name="path">The path of the file to open.</param>
|
|
<returns>
|
|
The loaded certificate.
|
|
</returns>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>The loaded certificate.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="path"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
<exception cref="T:System.IO.IOException">
|
|
An error occurred while loading the specified file.
|
|
</exception>
|
|
<remarks>
|
|
A PKCS#12/PFX can contain multiple certificates.
|
|
Using the ordering that the certificates appear in the results of
|
|
<see cref="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12CollectionFromFile(System.String,System.ReadOnlySpan{System.Char},System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)" />,
|
|
this method returns the first
|
|
certificate where <see cref="P:System.Security.Cryptography.X509Certificates.X509Certificate2.HasPrivateKey" /> is
|
|
<see langword="true" />.
|
|
If no certificates have associated private keys, then the first
|
|
certificate is returned.
|
|
If the PKCS#12/PFX contains no certificates, a
|
|
<see cref="T:System.Security.Cryptography.CryptographicException" /> is thrown.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12Collection(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Loads the provided data as a PKCS#12 PFX and returns a collection of
|
|
all of the certificates therein.
|
|
</summary>
|
|
<param name="data">The data to load.</param>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>A collection of the certificates loaded from the input.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="data"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12Collection(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Char},System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Loads the provided data as a PKCS#12 PFX and returns a collection of
|
|
all of the certificates therein.
|
|
</summary>
|
|
<param name="data">The data to load.</param>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>A collection of the certificates loaded from the input.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="data"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12CollectionFromFile(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate.
|
|
Loads the provided data as a PKCS#12 PFX and returns a collection of
|
|
all of the certificates therein.
|
|
</summary>
|
|
<param name="path">The path of the file to open.</param>
|
|
<returns>
|
|
The loaded certificate.
|
|
</returns>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>The loaded certificate.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="path"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
<exception cref="T:System.IO.IOException">
|
|
An error occurred while loading the specified file.
|
|
</exception>
|
|
</member>
|
|
<member name="M:System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadPkcs12CollectionFromFile(System.String,System.ReadOnlySpan{System.Char},System.Security.Cryptography.X509Certificates.X509KeyStorageFlags,System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits)">
|
|
<summary>
|
|
Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate.
|
|
Loads the provided data as a PKCS#12 PFX and returns a collection of
|
|
all of the certificates therein.
|
|
</summary>
|
|
<param name="path">The path of the file to open.</param>
|
|
<returns>
|
|
The loaded certificate.
|
|
</returns>
|
|
<param name="password">The password to decrypt the contents of the PFX.</param>
|
|
<param name="keyStorageFlags">
|
|
A bitwise combination of the enumeration values that control where and how to
|
|
import the private key associated with the returned certificate.
|
|
</param>
|
|
<param name="loaderLimits">
|
|
Limits to apply when loading the PFX. A <see langword="null" /> value, the default,
|
|
is equivalent to <see cref="P:System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits.Defaults"/>.
|
|
</param>
|
|
<returns>The loaded certificate.</returns>
|
|
<exception cref="T:System.ArgumentNullException">
|
|
<paramref name="path"/> is <see langword="null" />.
|
|
</exception>
|
|
<exception cref="T:System.ArgumentException">
|
|
<paramref name="keyStorageFlags"/> contains a value, or combination of values,
|
|
that is not valid.
|
|
</exception>
|
|
<exception cref="T:System.PlatformNotSupportedException">
|
|
<paramref name="keyStorageFlags"/> contains a value that is not valid for the
|
|
current platform.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException">
|
|
The PKCS#12/PFX violated one or more constraints of <paramref name="loaderLimits"/>.
|
|
</exception>
|
|
<exception cref="T:System.Security.Cryptography.CryptographicException">
|
|
An error occurred while loading the PKCS#12/PFX.
|
|
</exception>
|
|
<exception cref="T:System.IO.IOException">
|
|
An error occurred while loading the specified file.
|
|
</exception>
|
|
</member>
|
|
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
|
<summary>
|
|
Attribute used to indicate a source generator should create a function for marshalling
|
|
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
|
</summary>
|
|
<remarks>
|
|
This attribute is meaningless if the source generator associated with it is not enabled.
|
|
The current built-in source generator only supports C# and only supplies an implementation when
|
|
applied to static, partial, non-generic methods.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
|
</summary>
|
|
<param name="libraryName">Name of the library containing the import.</param>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
|
<summary>
|
|
Gets the name of the library containing the import.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
|
<summary>
|
|
Gets or sets the name of the entry point to be called.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
|
<summary>
|
|
Gets or sets how to marshal string arguments to the method.
|
|
</summary>
|
|
<remarks>
|
|
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
|
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
|
<summary>
|
|
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
|
</summary>
|
|
<remarks>
|
|
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
|
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
|
<summary>
|
|
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
|
on other platforms) before returning from the attributed method.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
|
<summary>
|
|
Specifies how strings should be marshalled for generated p/invokes
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
|
<summary>
|
|
Indicates the user is supplying a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
|
<summary>
|
|
Use the platform-provided UTF-8 marshaller.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
|
<summary>
|
|
Use the platform-provided UTF-16 marshaller.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.OSPlatformAttribute">
|
|
<summary>
|
|
Base type for all platform-specific API attributes.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.TargetPlatformAttribute">
|
|
<summary>
|
|
Records the platform that the project targeted.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.SupportedOSPlatformAttribute">
|
|
<summary>
|
|
Records the operating system (and minimum version) that supports an API. Multiple attributes can be
|
|
applied to indicate support on multiple operating systems.
|
|
</summary>
|
|
<remarks>
|
|
Callers can apply a <see cref="T:System.Runtime.Versioning.SupportedOSPlatformAttribute" />
|
|
or use guards to prevent calls to APIs on unsupported operating systems.
|
|
|
|
A given platform should only be specified once.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.UnsupportedOSPlatformAttribute">
|
|
<summary>
|
|
Marks APIs that were removed in a given operating system version.
|
|
</summary>
|
|
<remarks>
|
|
Primarily used by OS bindings to indicate APIs that are only available in
|
|
earlier versions.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.ObsoletedOSPlatformAttribute">
|
|
<summary>
|
|
Marks APIs that were obsoleted in a given operating system version.
|
|
</summary>
|
|
<remarks>
|
|
Primarily used by OS bindings to indicate APIs that should not be used anymore.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.SupportedOSPlatformGuardAttribute">
|
|
<summary>
|
|
Annotates a custom guard field, property or method with a supported platform name and optional version.
|
|
Multiple attributes can be applied to indicate guard for multiple supported platforms.
|
|
</summary>
|
|
<remarks>
|
|
Callers can apply a <see cref="T:System.Runtime.Versioning.SupportedOSPlatformGuardAttribute" /> to a field, property or method
|
|
and use that field, property or method in a conditional or assert statements in order to safely call platform specific APIs.
|
|
|
|
The type of the field or property should be boolean, the method return type should be boolean in order to be used as platform guard.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute">
|
|
<summary>
|
|
Annotates the custom guard field, property or method with an unsupported platform name and optional version.
|
|
Multiple attributes can be applied to indicate guard for multiple unsupported platforms.
|
|
</summary>
|
|
<remarks>
|
|
Callers can apply a <see cref="T:System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute" /> to a field, property or method
|
|
and use that field, property or method in a conditional or assert statements as a guard to safely call APIs unsupported on those platforms.
|
|
|
|
The type of the field or property should be boolean, the method return type should be boolean in order to be used as platform guard.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.SR.Arg_CryptographyException">
|
|
<summary>Error occurred during a cryptographic operation.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Argument_InvalidOffLen">
|
|
<summary>Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Argument_InvalidValue">
|
|
<summary>Value was invalid.</summary>
|
|
</member>
|
|
<member name="P:System.SR.ArgumentOutOfRange_Generic_MustBeNonNegativeNonZero">
|
|
<summary>{0} ('{1}') must be a non-negative and non-zero value.</summary>
|
|
</member>
|
|
<member name="P:System.SR.ArgumentOutOfRange_NeedNonNegNum">
|
|
<summary>Non-negative number required.</summary>
|
|
</member>
|
|
<member name="P:System.SR.ArgumentOutOfRange_KOut_Too_Large">
|
|
<summary>The number of bytes requested is too large. The number of bytes produced by SP800108HmacCounterKdf cannot exceed 536,870,911 bytes.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Argument_EmptyString">
|
|
<summary>The value cannot be an empty string.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_AlgKdfRequiresChars">
|
|
<summary>The KDF for algorithm '{0}' requires a char-based password input.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_AlgorithmNotSupported">
|
|
<summary>Algorithm '{0}' is not supported on this platform.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_Der_Invalid_Encoding">
|
|
<summary>ASN1 corrupted data.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_HashAlgorithmNameNullOrEmpty">
|
|
<summary>The hash algorithm name cannot be null or empty.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_NotValidPublicOrPrivateKey">
|
|
<summary>Key is not a valid public or private key.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_Pfx_BadPassword">
|
|
<summary>The certificate data cannot be read with the provided password, the password may be incorrect.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_Pfx_NoCertificates">
|
|
<summary>The provided PFX data contains no certificates.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_Pkcs8_EncryptedReadFailed">
|
|
<summary>The EncryptedPrivateKeyInfo structure was decoded but was not successfully interpreted, the password may be incorrect.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_UnknownAlgorithmIdentifier">
|
|
<summary>The algorithm identified by '{0}' is unknown, not valid for the requested usage, or was not handled.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_UnknownHashAlgorithm">
|
|
<summary>'{0}' is not a known hash algorithm.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_X509_PKCS12_LimitExceeded">
|
|
<summary>The PKCS#12/PFX violated the '{0}' limit.</summary>
|
|
</member>
|
|
<member name="P:System.SR.Cryptography_X509_PKCS12_LimitsReadOnly">
|
|
<summary>This Pkcs12LoaderLimits object has been made read-only and can no longer be modified.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
|
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
|
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
|
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
|
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
|
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
|
<summary>Initializes the attribute with the specified return value condition.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated parameter may be null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
|
<summary>Gets the return value condition.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
|
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
|
<summary>Initializes the attribute with the specified return value condition.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
|
<summary>Gets the return value condition.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
|
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
|
<summary>Initializes the attribute with the associated parameter name.</summary>
|
|
<param name="parameterName">
|
|
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
|
<summary>Gets the associated parameter name.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
|
<summary>Applied to a method that will never return under any circumstance.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
|
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
|
<summary>Initializes the attribute with the specified parameter value.</summary>
|
|
<param name="parameterValue">
|
|
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
|
the associated parameter matches this value.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
|
<summary>Gets the condition parameter value.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
|
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
|
<summary>Initializes the attribute with a field or property member.</summary>
|
|
<param name="member">
|
|
The field or property member that is promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
|
<summary>Initializes the attribute with the list of field and property members.</summary>
|
|
<param name="members">
|
|
The list of field and property members that are promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
|
<summary>Gets field or property member names.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
|
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
|
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated field or property member will not be null.
|
|
</param>
|
|
<param name="member">
|
|
The field or property member that is promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
|
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated field and property members will not be null.
|
|
</param>
|
|
<param name="members">
|
|
The list of field and property members that are promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
|
<summary>Gets the return value condition.</summary>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
|
<summary>Gets field or property member names.</summary>
|
|
</member>
|
|
<member name="M:Interop.BCrypt.Emit(System.Byte[],System.Int32@,System.Byte[])">
|
|
<summary>
|
|
Append "value" to the data already in blob.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Interop.BCrypt.EmitByte(System.Byte[],System.Int32@,System.Byte,System.Int32)">
|
|
<summary>
|
|
Append "value" to the data already in blob.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Interop.BCrypt.EmitBigEndian(System.Byte[],System.Int32@,System.Int32)">
|
|
<summary>
|
|
Append "value" in big Endian format to the data already in blob.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Interop.BCrypt.Consume(System.Byte[],System.Int32@,System.Int32)">
|
|
<summary>
|
|
Peel off the next "count" bytes in blob and return them in a byte array.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Interop.BCrypt.Consume(System.ReadOnlySpan{System.Byte},System.Int32@,System.Int32)">
|
|
<summary>
|
|
Peel off the next "count" bytes in blob and return them in a byte array.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.KeyBlobMagicNumber">
|
|
<summary>
|
|
Magic numbers identifying blob types
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.KeyBlobType">
|
|
<summary>
|
|
Well known key blob types
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCRYPT_RSAKEY_BLOB">
|
|
<summary>
|
|
The BCRYPT_RSAKEY_BLOB structure is used as a header for an RSA public key or private key BLOB in memory.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCRYPT_DSA_KEY_BLOB">
|
|
<summary>
|
|
The BCRYPT_DSA_KEY_BLOB structure is used as a v1 header for a DSA public key or private key BLOB in memory.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCRYPT_DSA_KEY_BLOB_V2">
|
|
<summary>
|
|
The BCRYPT_DSA_KEY_BLOB structure is used as a v2 header for a DSA public key or private key BLOB in memory.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCRYPT_ECCKEY_BLOB">
|
|
<summary>
|
|
The BCRYPT_ECCKEY_BLOB structure is used as a header for an ECC public key or private key BLOB in memory.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.ECC_CURVE_TYPE_ENUM">
|
|
<summary>
|
|
Represents the type of curve.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.ECC_CURVE_ALG_ID_ENUM">
|
|
<summary>
|
|
Represents the algorithm that was used with Seed to generate A and B.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCRYPT_ECCFULLKEY_BLOB">
|
|
<summary>
|
|
Used as a header to curve parameters including the public and potentially private key.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.CngBufferDescriptors">
|
|
<summary>
|
|
NCrypt or BCrypt buffer descriptors
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCryptBuffer">
|
|
<summary>
|
|
BCrypt buffer
|
|
</summary>
|
|
</member>
|
|
<member name="F:Interop.BCrypt.BCRYPTBUFFER_VERSION">
|
|
<summary>
|
|
The version of BCryptBuffer
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCryptBufferDesc">
|
|
<summary>
|
|
Contains a set of generic CNG buffers.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Interop.BCrypt.BCRYPT_ECC_PARAMETER_HEADER_V1">
|
|
<summary>
|
|
The version of BCRYPT_ECC_PARAMETER_HEADER
|
|
</summary>
|
|
</member>
|
|
<member name="T:Interop.BCrypt.BCRYPT_ECC_PARAMETER_HEADER">
|
|
<summary>
|
|
Used as a header to curve parameters.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Interop.Kernel32.GetMessage(System.Int32)">
|
|
<summary>
|
|
Returns a string message for the specified Win32 error code.
|
|
</summary>
|
|
</member>
|
|
</members>
|
|
</doc>
|