11 references to UnprotectedHeaders
System.Security.Cryptography.Cose (11)
System\Security\Cryptography\Cose\CoseMessage.cs (3)
594
/// <exception cref="InvalidOperationException">The <see cref="ProtectedHeaders"/> and <see cref="
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
611
/// <exception cref="InvalidOperationException">The <see cref="ProtectedHeaders"/> and <see cref="
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
630
/// <exception cref="InvalidOperationException">The <see cref="ProtectedHeaders"/> and <see cref="
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (4)
543
int encodedLength = CoseHelpers.GetCoseSignEncodedLengthMinusSignature(_isTagged, MultiSignSizeOfCborTag, _protectedHeaderAsBstr.Length,
UnprotectedHeaders
, _content);
566
/// The <see cref="CoseMessage.ProtectedHeaders"/> and <see cref="CoseMessage.
UnprotectedHeaders
"/> collections have one or more labels in common.
576
if (ContainDuplicateLabels(ProtectedHeaders,
UnprotectedHeaders
))
603
CoseHelpers.WriteHeaderMap(destination, writer,
UnprotectedHeaders
, isProtected: false, null);
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
790
CoseHelpers.GetCoseSignEncodedLengthMinusSignature(_isTagged, Sign1SizeOfCborTag, _protectedHeaderAsBstr.Length,
UnprotectedHeaders
, _content) +
800
/// <exception cref="InvalidOperationException">The <see cref="CoseMessage.ProtectedHeaders"/> and <see cref="CoseMessage.
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
804
if (ContainDuplicateLabels(ProtectedHeaders,
UnprotectedHeaders
))
826
CoseHelpers.WriteHeaderMap(destination, writer,
UnprotectedHeaders
, isProtected: false, null);