12 references to Signature
System.Security.Cryptography.Cose (12)
System\Security\Cryptography\Cose\CoseMessage.cs (2)
490
if (context == SigStructureContext.
Signature
)
523
if (context == SigStructureContext.
Signature
)
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (6)
463
AppendToBeSigned(buffer, hasher, SigStructureContext.
Signature
, bodyProtected, buffer.Slice(0, signProtectedBytesWritten), associatedData, content, contentStream);
493
await AppendToBeSignedAsync(buffer, hasher, SigStructureContext.
Signature
, bodyProtected, buffer.AsMemory(start, signProtectedBytesWritten), associatedData, contentStream, cancellationToken).ConfigureAwait(false);
787
SigStructureContext.
Signature
,
803
AppendToBeSigned(bufferSpan, hasher, SigStructureContext.
Signature
, _protectedHeaderAsBstr, encodedSignProtected, associatedData, contentBytes, contentStream);
863
SigStructureContext.
Signature
,
876
await AppendToBeSignedAsync(buffer, hasher, SigStructureContext.
Signature
, _protectedHeaderAsBstr, encodedSignProtected, associatedData, content, cancellationToken).ConfigureAwait(false);
System\Security\Cryptography\Cose\CoseSignature.cs (4)
400
SigStructureContext.
Signature
,
409
await CoseMessage.AppendToBeSignedAsync(buffer, hasher, SigStructureContext.
Signature
, Message.RawProtectedHeaders, _encodedSignProtectedHeaders, associatedData, content, cancellationToken).ConfigureAwait(false);
432
SigStructureContext.
Signature
,
441
CoseMessage.AppendToBeSigned(buffer, hasher, SigStructureContext.
Signature
, Message.RawProtectedHeaders.Span, _encodedSignProtectedHeaders, associatedData, contentBytes, contentStream);