13 references to BinaryBlob
Microsoft.AspNetCore.Antiforgery (1)
Internal\AntiforgeryToken.cs (1)
32_securityToken ??= new BinaryBlob(SecurityTokenBitLength);
Microsoft.AspNetCore.Antiforgery.Microbenchmarks (1)
Benchmarks\AntiforgeryTokenSerializerBenchmarks.cs (1)
31ClaimUid = new BinaryBlob(AntiforgeryToken.ClaimUidBitLength),
Microsoft.AspNetCore.Antiforgery.Test (11)
AntiforgeryTokenTest.cs (2)
36BinaryBlob blob = new BinaryBlob(32); 105var securityToken = new BinaryBlob(64);
BinaryBlobTest.cs (6)
12var blob = new BinaryBlob(bitLength: 64); 27var ex = Assert.Throws<ArgumentOutOfRangeException>(() => new BinaryBlob(bitLength)); 35var blobA = new BinaryBlob(bitLength: 64); 36var blobB = new BinaryBlob(bitLength: 64); 81object blobA = new BinaryBlob(32); 92object blobA = new BinaryBlob(32);
DefaultAntiforgeryTokenGeneratorTest.cs (3)
428ClaimUid = new BinaryBlob(256) 431var differentToken = new BinaryBlob(256); 565ClaimUid = new BinaryBlob(256)