Edit

Share via


CoseSignature Class

Definition

Represents a COSE_Signature that carries one signature and information about that signature associated with a CoseMultiSignMessage.

public ref class CoseSignature sealed
public sealed class CoseSignature
type CoseSignature = class
Public NotInheritable Class CoseSignature
Inheritance
CoseSignature

Properties

Name Description
ProtectedHeaders

Gets the protected header parameters associated with this instance.

RawProtectedHeaders

Gets the raw bytes of the protected header parameters associated with this instance.

Signature

Gets the digital signature.

UnprotectedHeaders

Gets the unprotected header parameters associated with this instance.

Methods

Name Description
VerifyDetached(AsymmetricAlgorithm, Byte[], Byte[])

Verifies that the signature is valid for the message's content using the specified key.

VerifyDetached(AsymmetricAlgorithm, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Verifies that the signature is valid for the message's content using the specified key.

VerifyDetached(AsymmetricAlgorithm, Stream, ReadOnlySpan<Byte>)

Verifies that the signature is valid for the message's content using the specified key.

VerifyDetached(CoseKey, Byte[], Byte[])

Verifies that the signature is valid for the message's content using the specified key.

VerifyDetached(CoseKey, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Verifies that the signature is valid for the message's content using the specified key.

VerifyDetached(CoseKey, Stream, ReadOnlySpan<Byte>)

Verifies that the signature is valid for the message's content using the specified key.

VerifyDetachedAsync(AsymmetricAlgorithm, Stream, ReadOnlyMemory<Byte>, CancellationToken)

Asynchronously verifies that the signature is valid for the message's content using the specified key.

VerifyDetachedAsync(CoseKey, Stream, ReadOnlyMemory<Byte>, CancellationToken)

Asynchronously verifies that the signature is valid for the message's content using the specified key.

VerifyEmbedded(AsymmetricAlgorithm, Byte[])

Verifies that the signature is valid for the message's content using the specified key.

VerifyEmbedded(AsymmetricAlgorithm, ReadOnlySpan<Byte>)

Verifies that the signature is valid for the message's content using the specified key.

VerifyEmbedded(CoseKey, ReadOnlySpan<Byte>)

Verifies that the signature is valid for the message's content using the specified key.

Applies to