Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HmacRedactor Class
Definition
- Namespace:
- Microsoft.Extensions.Compliance.Redaction
- Assembly:
- Microsoft.Extensions.Compliance.Redaction.dll
- Package:
- Microsoft.Extensions.Compliance.Redaction v10.7.0
- Source:
- HmacRedactor.cs
- Source:
- HmacRedactor.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a redactor that uses HMAC SHA-256 to encode redacted data.
public ref class HmacRedactor sealed : Microsoft::Extensions::Compliance::Redaction::Redactor
public sealed class HmacRedactor : Microsoft.Extensions.Compliance.Redaction.Redactor
type HmacRedactor = class
inherit Redactor
Public NotInheritable Class HmacRedactor
Inherits Redactor
- Inheritance
Constructors
| Name | Description |
|---|---|
| HmacRedactor(IOptions<HmacRedactorOptions>) |
Initializes a new instance of the HmacRedactor class. |
Methods
| Name | Description |
|---|---|
| GetRedactedLength(ReadOnlySpan<Char>) |
Gets the number of characters produced by redacting the input. |
| GetRedactedLength(String) |
Gets the number of characters produced by redacting the input. (Inherited from Redactor) |
| Redact(ReadOnlySpan<Char>, Span<Char>) |
Redacts potentially sensitive data. |
| Redact(ReadOnlySpan<Char>) |
Redacts potentially sensitive data. (Inherited from Redactor) |
| Redact(String, Span<Char>) |
Redacts potentially sensitive data. (Inherited from Redactor) |
| Redact(String) |
Redacts potentially sensitive data. (Inherited from Redactor) |
| Redact<T>(T, Span<Char>, String, IFormatProvider) |
Redacts potentially sensitive data. (Inherited from Redactor) |
| Redact<T>(T, String, IFormatProvider) |
Redacts potentially sensitive data. (Inherited from Redactor) |
| TryRedact<T>(T, Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Tries to redact potentially sensitive data. (Inherited from Redactor) |
Applies to
Feedback
Was this page helpful?
