ISpanAuthenticatedEncryptor Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit une routine de chiffrement et de déchiffrement authentifiés via une API basée sur une étendue.
public interface ISpanAuthenticatedEncryptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor
type ISpanAuthenticatedEncryptor = interface
interface IAuthenticatedEncryptor
Public Interface ISpanAuthenticatedEncryptor
Implements IAuthenticatedEncryptor
- Implémente
Méthodes
| Nom | Description |
|---|---|
| Decrypt(ArraySegment<Byte>, ArraySegment<Byte>) |
Valide la balise d’authentification des données chiffrées et déchiffre un objet blob de données chiffrées. (Hérité de IAuthenticatedEncryptor) |
| Decrypt<TWriter>(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, TWriter) |
Valide la balise d’authentification et déchiffre un objet blob de données chiffrées, en écrivant le résultat dans un enregistreur de mémoire tampon. |
| Encrypt(ArraySegment<Byte>, ArraySegment<Byte>) |
Chiffre et falsifie une partie des données. (Hérité de IAuthenticatedEncryptor) |
| Encrypt<TWriter>(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, TWriter) |
Chiffre et authentifie un élément de données en texte clair et écrit le résultat dans un enregistreur de mémoire tampon. |