Redigera

Dela via


Rfc3161TimestampToken.AsSignedCms Method

Definition

Gets a Signed Cryptographic Message Syntax (CMS) representation of the RFC3161 time-stamp token.

public:
 System::Security::Cryptography::Pkcs::SignedCms ^ AsSignedCms();
public System.Security.Cryptography.Pkcs.SignedCms AsSignedCms ();
member this.AsSignedCms : unit -> System.Security.Cryptography.Pkcs.SignedCms
Public Function AsSignedCms () As SignedCms

Returns

The SignedCms representation of the Rfc3161TimestampToken.

Remarks

Successive calls to this method return the same object.

The SignedCms class is mutable, but changes to that object are not reflected in the Rfc3161TimestampToken object that produced it.

The value from calling SignedCms.Encode() can be interpreted again as an Rfc3161TimestampToken via another call to Rfc3161TimestampToken.TryDecode(ReadOnlyMemory<Byte>, Rfc3161TimestampToken, Int32).

Applies to