5 references to AppendToBeSigned
System.Security.Cryptography.Cose (5)
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (2)
455
AppendToBeSigned
(buffer, hasher, SigStructureContext.Signature, bodyProtected, buffer.Slice(0, signProtectedBytesWritten), associatedData, content, contentStream);
783
AppendToBeSigned
(bufferSpan, hasher, SigStructureContext.Signature, _protectedHeaderAsBstr, encodedSignProtected, associatedData, contentBytes, contentStream);
System\Security\Cryptography\Cose\CoseSign1Message.cs (2)
321
AppendToBeSigned
(buffer, hasher, SigStructureContext.Signature1, buffer.Slice(0, protectedMapBytesWritten), ReadOnlySpan<byte>.Empty, associatedData, contentBytes, contentStream);
597
AppendToBeSigned
(buffer, hasher, SigStructureContext.Signature1, _protectedHeaderAsBstr, ReadOnlySpan<byte>.Empty, associatedData, contentBytes, contentStream);
System\Security\Cryptography\Cose\CoseSignature.cs (1)
414
CoseMessage.
AppendToBeSigned
(buffer, hasher, SigStructureContext.Signature, Message.RawProtectedHeaders.Span, _encodedSignProtectedHeaders, associatedData, contentBytes, contentStream);