16 references to GetByteStringEncodedSize
System.Security.Cryptography.Cose (16)
System\Security\Cryptography\Cose\CoseHelpers.cs (2)
184
retVal +=
GetByteStringEncodedSize
(encodedProtectedHeadersLength);
193
retVal +=
GetByteStringEncodedSize
(content.Length);
System\Security\Cryptography\Cose\CoseMessage.cs (4)
519
CoseHelpers.
GetByteStringEncodedSize
(bodyProtectedLength) +
520
CoseHelpers.
GetByteStringEncodedSize
(associatedDataLength) +
521
CoseHelpers.
GetByteStringEncodedSize
(contentLength);
526
CoseHelpers.
GetByteStringEncodedSize
(signProtectedLength);
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (6)
509
encodedSize += CoseHelpers.
GetByteStringEncodedSize
(protectedHeadersSize);
525
encodedSize += CoseHelpers.
GetByteStringEncodedSize
(contentLength);
530
encodedSize += CoseHelpers.
GetByteStringEncodedSize
(CoseHeaderMap.ComputeEncodedSize(signer._protectedHeaders, signer._algHeaderValueToSlip));
532
encodedSize += CoseHelpers.
GetByteStringEncodedSize
(CoseHelpers.ComputeSignatureSize(signer));
549
encodedLength += CoseHelpers.
GetByteStringEncodedSize
(signature._encodedSignProtectedHeaders.Length);
551
encodedLength += CoseHelpers.
GetByteStringEncodedSize
(signature._signature.Length);
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
768
CoseHelpers.
GetByteStringEncodedSize
(CoseHeaderMap.ComputeEncodedSize(signer._protectedHeaders, signer._algHeaderValueToSlip)) +
777
encodedSize += CoseHelpers.
GetByteStringEncodedSize
(contentLength);
780
encodedSize += CoseHelpers.
GetByteStringEncodedSize
(CoseHelpers.ComputeSignatureSize(signer));
791
CoseHelpers.
GetByteStringEncodedSize
(_signature.Length);