8 references to Signature1
System.Security.Cryptography.Cose (8)
System\Security\Cryptography\Cose\CoseMessage.cs (2)
497Debug.Assert(context == SigStructureContext.Signature1); 528Debug.Assert(context == SigStructureContext.Signature1);
System\Security\Cryptography\Cose\CoseSign1Message.cs (6)
321AppendToBeSigned(buffer, hasher, SigStructureContext.Signature1, buffer.Slice(0, protectedMapBytesWritten), ReadOnlySpan<byte>.Empty, associatedData, contentBytes, contentStream); 343await AppendToBeSignedAsync(buffer, hasher, SigStructureContext.Signature1, buffer.AsMemory(0, protectedMapBytesWritten), ReadOnlyMemory<byte>.Empty, associatedData, content, cancellationToken).ConfigureAwait(false); 588SigStructureContext.Signature1, 597AppendToBeSigned(buffer, hasher, SigStructureContext.Signature1, _protectedHeaderAsBstr, ReadOnlySpan<byte>.Empty, associatedData, contentBytes, contentStream); 683SigStructureContext.Signature1, 690await AppendToBeSignedAsync(buffer, hasher, SigStructureContext.Signature1, _protectedHeaderAsBstr, ReadOnlyMemory<byte>.Empty, associatedData, content, cancellationToken).ConfigureAwait(false);