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