11 references to ComputeEncodedSize
System.Security.Cryptography.Cose (11)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
377
Debug.Assert(bytesWritten ==
ComputeEncodedSize
(map, algHeaderValueToSlip));
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
185
retVal += CoseHeaderMap.
ComputeEncodedSize
(unprotectedHeaders);
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (7)
506
int protectedHeadersSize = CoseHeaderMap.
ComputeEncodedSize
(protectedHeaders);
517
encodedSize += CoseHeaderMap.
ComputeEncodedSize
(unprotectedHeaders);
530
encodedSize += CoseHelpers.GetByteStringEncodedSize(CoseHeaderMap.
ComputeEncodedSize
(signer._protectedHeaders, signer._algHeaderValueToSlip));
531
encodedSize += CoseHeaderMap.
ComputeEncodedSize
(signer._unprotectedHeaders);
550
encodedLength += CoseHeaderMap.
ComputeEncodedSize
(signature.UnprotectedHeaders);
784
int signProtectedEncodedLength = CoseHeaderMap.
ComputeEncodedSize
(signProtectedHeaders, algHeaderValueToSlip);
860
int signProtectedEncodedLength = CoseHeaderMap.
ComputeEncodedSize
(signProtectedHeaders, algHeaderValueToSlip);
System\Security\Cryptography\Cose\CoseSign1Message.cs (2)
768
CoseHelpers.GetByteStringEncodedSize(CoseHeaderMap.
ComputeEncodedSize
(signer._protectedHeaders, signer._algHeaderValueToSlip)) +
769
CoseHeaderMap.
ComputeEncodedSize
(signer._unprotectedHeaders);