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)
543int 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. 576if (ContainDuplicateLabels(ProtectedHeaders, UnprotectedHeaders)) 603CoseHelpers.WriteHeaderMap(destination, writer, UnprotectedHeaders, isProtected: false, null);
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
790CoseHelpers.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> 804if (ContainDuplicateLabels(ProtectedHeaders, UnprotectedHeaders)) 826CoseHelpers.WriteHeaderMap(destination, writer, UnprotectedHeaders, isProtected: false, null);