12 references to Signature
System.Security.Cryptography.Cose (12)
System\Security\Cryptography\Cose\CoseMessage.cs (2)
488
if (context == SigStructureContext.
Signature
)
521
if (context == SigStructureContext.
Signature
)
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (6)
455
AppendToBeSigned(buffer, hasher, SigStructureContext.
Signature
, bodyProtected, buffer.Slice(0, signProtectedBytesWritten), associatedData, content, contentStream);
485
await AppendToBeSignedAsync(buffer, hasher, SigStructureContext.
Signature
, bodyProtected, buffer.AsMemory(start, signProtectedBytesWritten), associatedData, contentStream, cancellationToken).ConfigureAwait(false);
767
SigStructureContext.
Signature
,
783
AppendToBeSigned(bufferSpan, hasher, SigStructureContext.
Signature
, _protectedHeaderAsBstr, encodedSignProtected, associatedData, contentBytes, contentStream);
840
SigStructureContext.
Signature
,
853
await AppendToBeSignedAsync(buffer, hasher, SigStructureContext.
Signature
, _protectedHeaderAsBstr, encodedSignProtected, associatedData, content, cancellationToken).ConfigureAwait(false);
System\Security\Cryptography\Cose\CoseSignature.cs (4)
373
SigStructureContext.
Signature
,
382
await CoseMessage.AppendToBeSignedAsync(buffer, hasher, SigStructureContext.
Signature
, Message.RawProtectedHeaders, _encodedSignProtectedHeaders, associatedData, content, cancellationToken).ConfigureAwait(false);
405
SigStructureContext.
Signature
,
414
CoseMessage.AppendToBeSigned(buffer, hasher, SigStructureContext.
Signature
, Message.RawProtectedHeaders.Span, _encodedSignProtectedHeaders, associatedData, contentBytes, contentStream);