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)
540
int encodedLength = CoseHelpers.GetCoseSignEncodedLengthMinusSignature(_isTagged, MultiSignSizeOfCborTag, _protectedHeaderAsBstr.Length,
UnprotectedHeaders
, _content);
563
/// The <see cref="CoseMessage.ProtectedHeaders"/> and <see cref="CoseMessage.
UnprotectedHeaders
"/> collections have one or more labels in common.
573
if (ContainDuplicateLabels(ProtectedHeaders,
UnprotectedHeaders
))
600
CoseHelpers.WriteHeaderMap(destination, writer,
UnprotectedHeaders
, isProtected: false, null);
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
990
CoseHelpers.GetCoseSignEncodedLengthMinusSignature(_isTagged, Sign1SizeOfCborTag, _protectedHeaderAsBstr.Length,
UnprotectedHeaders
, _content) +
1000
/// <exception cref="InvalidOperationException">The <see cref="CoseMessage.ProtectedHeaders"/> and <see cref="CoseMessage.
UnprotectedHeaders
"/> collections have one or more labels in common.</exception>
1004
if (ContainDuplicateLabels(ProtectedHeaders,
UnprotectedHeaders
))
1026
CoseHelpers.WriteHeaderMap(destination, writer,
UnprotectedHeaders
, isProtected: false, null);