Redigera

Dela via


Rfc3161TimestampRequest.GetExtensions Method

Definition

Gets a collection with a copy of the extensions present on this request.

public:
 System::Security::Cryptography::X509Certificates::X509ExtensionCollection ^ GetExtensions();
public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions ();
member this.GetExtensions : unit -> System.Security.Cryptography.X509Certificates.X509ExtensionCollection
Public Function GetExtensions () As X509ExtensionCollection

Returns

A collection with a copy of the extensions present on this request.

Remarks

The collection returned by this method represents a snapshot of the data. No modification of the collection or any instance within the collection will result in a change in this instance.

This method returns an empty collection when it has no extensions. To avoid the object creation in this common scenario, read HasExtensions.

Applies to