CoseSigner Class

Definition

Provides signing information to be used with sign operations in CoseSign1Message and CoseMultiSignMessage.

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

Constructors

CoseSigner(AsymmetricAlgorithm, HashAlgorithmName, CoseHeaderMap, CoseHeaderMap)

Initializes a new instance of the CoseSigner class.

CoseSigner(RSA, RSASignaturePadding, HashAlgorithmName, CoseHeaderMap, CoseHeaderMap)

Initializes a new instance of the CoseSigner class.

Properties

HashAlgorithm

Gets the hash algorithm to use to create the hash value for signing.

Key

Gets the private key to use during signing.

ProtectedHeaders

Gets the protected header parameters to append to the message when signing.

RSASignaturePadding

Gets the padding mode to use when signing.

UnprotectedHeaders

Gets the unprotected header parameters to append to the message when signing.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to