3 writes to _unprotectedHeaders
System.Security.Cryptography.Cose (3)
System\Security\Cryptography\Cose\CoseSigner.cs (3)
77
_unprotectedHeaders
= unprotectedHeaders;
117
_unprotectedHeaders
= unprotectedHeaders;
132
public CoseHeaderMap UnprotectedHeaders =>
_unprotectedHeaders
??= new CoseHeaderMap();
8 references to _unprotectedHeaders
System.Security.Cryptography.Cose (8)
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (2)
424
if (ContainDuplicateLabels(signer._protectedHeaders, signer.
_unprotectedHeaders
))
531
encodedSize += CoseHeaderMap.ComputeEncodedSize(signer.
_unprotectedHeaders
);
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
310
if (ContainDuplicateLabels(signer._protectedHeaders, signer.
_unprotectedHeaders
))
330
CoseHelpers.WriteHeaderMap(buffer.Slice(protectedMapBytesWritten), writer, signer.
_unprotectedHeaders
, isProtected: false, null);
353
CoseHelpers.WriteHeaderMap(buffer.AsSpan(protectedMapBytesWritten), writer, signer.
_unprotectedHeaders
, isProtected: false, null);
769
CoseHeaderMap.ComputeEncodedSize(signer.
_unprotectedHeaders
);
System\Security\Cryptography\Cose\CoseSigner.cs (2)
146
if (
_unprotectedHeaders
!= null &&
_unprotectedHeaders
.ContainsKey(CoseHeaderLabel.Algorithm))