संपादित करें

इसके माध्यम से साझा किया गया


CoseMultiSignMessage Class

Definition

Represents a multiple signature COSE_Sign message.

public ref class CoseMultiSignMessage sealed : System::Security::Cryptography::Cose::CoseMessage
public sealed class CoseMultiSignMessage : System.Security.Cryptography.Cose.CoseMessage
type CoseMultiSignMessage = class
    inherit CoseMessage
Public NotInheritable Class CoseMultiSignMessage
Inherits CoseMessage
Inheritance
CoseMultiSignMessage

Properties

Content

Gets the content of this message or null if the content was detached from the message.

(Inherited from CoseMessage)
ProtectedHeaders

Gets the protected header parameters associated with this message.

(Inherited from CoseMessage)
RawProtectedHeaders

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

(Inherited from CoseMessage)
Signatures

Gets a read-only collection of signatures associated with this message.

UnprotectedHeaders

Gets the unprotected header parameters associated with this message.

(Inherited from CoseMessage)

Methods

AddSignatureForDetached(Byte[], CoseSigner, Byte[])

Adds a signature for the specified content to this message.

AddSignatureForDetached(ReadOnlySpan<Byte>, CoseSigner, ReadOnlySpan<Byte>)

Adds a signature for the specified content to this message.

AddSignatureForDetached(Stream, CoseSigner, ReadOnlySpan<Byte>)

Adds a signature for the specified content to this message.

AddSignatureForDetachedAsync(Stream, CoseSigner, ReadOnlyMemory<Byte>, CancellationToken)

Asynchronously adds a signature for the specified content to this message.

AddSignatureForEmbedded(CoseSigner, Byte[])

Adds a signature for the content embedded in this message.

AddSignatureForEmbedded(CoseSigner, ReadOnlySpan<Byte>)

Adds a signature for the content embedded in this message.

Encode()

Encodes this message as CBOR.

(Inherited from CoseMessage)
Encode(Span<Byte>)

Encodes this message as CBOR.

(Inherited from CoseMessage)
Equals(Object)

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

(Inherited from Object)
GetEncodedLength()

Calculates the number of bytes produced by encoding this message.

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)
RemoveSignature(CoseSignature)

Removes the specified signature from the message.

RemoveSignature(Int32)

Removes the signature at the specified index from the message.

SignDetached(Byte[], CoseSigner, CoseHeaderMap, CoseHeaderMap, Byte[])

Signs the specified content and encodes it as a COSE_Sign message with detached content.

SignDetached(ReadOnlySpan<Byte>, CoseSigner, CoseHeaderMap, CoseHeaderMap, ReadOnlySpan<Byte>)

Signs the specified content and encodes it as a COSE_Sign message with detached content.

SignDetached(Stream, CoseSigner, CoseHeaderMap, CoseHeaderMap, ReadOnlySpan<Byte>)

Signs the specified content and encodes it as a COSE_Sign message with detached content.

SignDetachedAsync(Stream, CoseSigner, CoseHeaderMap, CoseHeaderMap, ReadOnlyMemory<Byte>, CancellationToken)

Asynchronously signs the specified content and encodes it as a COSE_Sign message with detached content.

SignEmbedded(Byte[], CoseSigner, CoseHeaderMap, CoseHeaderMap, Byte[])

Signs the specified content and encodes it as a COSE_Sign message with embedded content.

SignEmbedded(ReadOnlySpan<Byte>, CoseSigner, CoseHeaderMap, CoseHeaderMap, ReadOnlySpan<Byte>)

Signs the specified content and encodes it as a COSE_Sign message with detached content.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryEncode(Span<Byte>, Int32)

Attempts to encode this message into the specified buffer.

TrySignDetached(ReadOnlySpan<Byte>, Span<Byte>, CoseSigner, Int32, CoseHeaderMap, CoseHeaderMap, ReadOnlySpan<Byte>)

Attempts to sign the specified content and encode it as a COSE_Sign message with detached content into the specified buffer.

TrySignEmbedded(ReadOnlySpan<Byte>, Span<Byte>, CoseSigner, Int32, CoseHeaderMap, CoseHeaderMap, ReadOnlySpan<Byte>)

Signs the specified content and encodes it as a COSE_Sign message with embedded content.

Applies to