Implemented interface member:
method
WriteSecretIntoBuffer
Microsoft.AspNetCore.DataProtection.ISecret.WriteSecretIntoBuffer(System.ArraySegment<System.Byte>)
12 references to WriteSecretIntoBuffer
Microsoft.AspNetCore.DataProtection (5)
Managed\AesGcmAuthenticatedEncryptor.cs (2)
114_keyDerivationKey.WriteSecretIntoBuffer(new ArraySegment<byte>(decryptedKdk)); 187_keyDerivationKey.WriteSecretIntoBuffer(new ArraySegment<byte>(decryptedKdk));
Managed\ManagedAuthenticatedEncryptor.cs (2)
208_keyDerivationKey.WriteSecretIntoBuffer(new ArraySegment<byte>(decryptedKdk)); 317_keyDerivationKey.WriteSecretIntoBuffer(new ArraySegment<byte>(decryptedKdk));
XmlEncryption\XmlEncryptionExtensions.cs (1)
191secret.WriteSecretIntoBuffer(new ArraySegment<byte>(plaintextSecret));
Microsoft.AspNetCore.DataProtection.Tests (7)
SecretTests.cs (7)
35secret.WriteSecretIntoBuffer(outputSegment); 62secret.WriteSecretIntoBuffer(outputSegment); 82secret.WriteSecretIntoBuffer(new ArraySegment<byte>(new byte[0])); 121secret.WriteSecretIntoBuffer(new ArraySegment<byte>(new byte[0])); 144secret.WriteSecretIntoBuffer(outputSegment); 205testCode: () => secret.WriteSecretIntoBuffer(new ArraySegment<byte>(new byte[100])), 219testCode: () => secret.WriteSecretIntoBuffer(new ArraySegment<byte>(new byte[16])));