11 references to UnprotectedHeaders
System.Security.Cryptography.Cose (11)
System\Security\Cryptography\Cose\CoseMessage.cs (3)
592
/// <exception cref="InvalidOperationException">The <see cref="ProtectedHeaders"/> and <see cref="
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
609
/// <exception cref="InvalidOperationException">The <see cref="ProtectedHeaders"/> and <see cref="
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
628
/// <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)
535
int encodedLength = CoseHelpers.GetCoseSignEncodedLengthMinusSignature(_isTagged, MultiSignSizeOfCborTag, _protectedHeaderAsBstr.Length,
UnprotectedHeaders
, _content);
558
/// The <see cref="CoseMessage.ProtectedHeaders"/> and <see cref="CoseMessage.
UnprotectedHeaders
"/> collections have one or more labels in common.
568
if (ContainDuplicateLabels(ProtectedHeaders,
UnprotectedHeaders
))
595
CoseHelpers.WriteHeaderMap(destination, writer,
UnprotectedHeaders
, isProtected: false, null);
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
748
CoseHelpers.GetCoseSignEncodedLengthMinusSignature(_isTagged, Sign1SizeOfCborTag, _protectedHeaderAsBstr.Length,
UnprotectedHeaders
, _content) +
758
/// <exception cref="InvalidOperationException">The <see cref="CoseMessage.ProtectedHeaders"/> and <see cref="CoseMessage.
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
762
if (ContainDuplicateLabels(ProtectedHeaders,
UnprotectedHeaders
))
784
CoseHelpers.WriteHeaderMap(destination, writer,
UnprotectedHeaders
, isProtected: false, null);