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)
191
secret.
WriteSecretIntoBuffer
(new ArraySegment<byte>(plaintextSecret));
Microsoft.AspNetCore.DataProtection.Tests (7)
SecretTests.cs (7)
35
secret.
WriteSecretIntoBuffer
(outputSegment);
62
secret.
WriteSecretIntoBuffer
(outputSegment);
82
secret.
WriteSecretIntoBuffer
(new ArraySegment<byte>(new byte[0]));
121
secret.
WriteSecretIntoBuffer
(new ArraySegment<byte>(new byte[0]));
144
secret.
WriteSecretIntoBuffer
(outputSegment);
205
testCode: () => secret.
WriteSecretIntoBuffer
(new ArraySegment<byte>(new byte[100])),
219
testCode: () => secret.
WriteSecretIntoBuffer
(new ArraySegment<byte>(new byte[16])));