CoseMultiSignMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Properties
Content |
Gets the content of this message or |
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) |
GetEncodedLength() |
Calculates the number of bytes produced by encoding this message. |
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. |
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. |