8 references to Signature1
System.Security.Cryptography.Cose (8)
System\Security\Cryptography\Cose\CoseMessage.cs (2)
497
Debug.Assert(context == SigStructureContext.
Signature1
);
528
Debug.Assert(context == SigStructureContext.
Signature1
);
System\Security\Cryptography\Cose\CoseSign1Message.cs (6)
321
AppendToBeSigned(buffer, toBeSignedBuilder, SigStructureContext.
Signature1
, buffer.Slice(0, protectedMapBytesWritten), ReadOnlySpan<byte>.Empty, associatedData, contentBytes, contentStream);
346
await AppendToBeSignedAsync(buffer, toBeSignedBuilder, SigStructureContext.
Signature1
, buffer.AsMemory(0, protectedMapBytesWritten), ReadOnlyMemory<byte>.Empty, associatedData, content, cancellationToken).ConfigureAwait(false);
790
SigStructureContext.
Signature1
,
799
AppendToBeSigned(buffer, toBeSignedBuilder, SigStructureContext.
Signature1
, _protectedHeaderAsBstr, ReadOnlySpan<byte>.Empty, associatedData, contentBytes, contentStream);
943
SigStructureContext.
Signature1
,
950
await AppendToBeSignedAsync(buffer, toBeSignedBuilder, SigStructureContext.
Signature1
, _protectedHeaderAsBstr, ReadOnlyMemory<byte>.Empty, associatedData, content, cancellationToken).ConfigureAwait(false);