9 references to Secret
Microsoft.AspNetCore.DataProtection (5)
Cng\DpapiSecretSerializerHelper.cs (3)
33
using var secret = new
Secret
((byte*)&dummy, sizeof(Guid));
245
return new
Secret
(dataOut.pbData, checked((int)dataOut.cbData));
307
return new
Secret
((byte*)unencryptedPayloadHandle.DangerousGetHandle(), checked((int)cbUnencryptedPayload));
Secret.cs (2)
175
return new
Secret
(&dummy, 0);
191
return new
Secret
(pbBytes, numBytes);
Microsoft.AspNetCore.DataProtection.Tests (4)
SecretTests.cs (4)
92
testCode: () => new
Secret
(null, 0),
104
new
Secret
(&dummy, -1);
117
var secret = new
Secret
(&input, 0);
136
var secret = new
Secret
(input, 3);