Bewerken

Delen via


Pkcs9SigningTime Class

Definition

Defines the signing date and time of a signature. A Pkcs9SigningTime object can be used as an authenticated attribute of a CmsSigner object when an authenticated date and time are to accompany a digital signature.

public ref class Pkcs9SigningTime sealed : System::Security::Cryptography::Pkcs::Pkcs9AttributeObject
public sealed class Pkcs9SigningTime : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
type Pkcs9SigningTime = class
    inherit Pkcs9AttributeObject
Public NotInheritable Class Pkcs9SigningTime
Inherits Pkcs9AttributeObject
Inheritance

Remarks

A signing time attribute is also available in CAPICOM. For more information, see CAPICOM_ATTRIBUTE.

Constructors

Pkcs9SigningTime()

The Pkcs9SigningTime() constructor creates an instance of the Pkcs9SigningTime class.

Pkcs9SigningTime(Byte[])

The Pkcs9SigningTime(Byte[]) constructor creates an instance of the Pkcs9SigningTime class by using the specified array of byte values as the encoded signing date and time of the content of a CMS/PKCS #7 message.

Pkcs9SigningTime(DateTime)

The Pkcs9SigningTime(DateTime) constructor creates an instance of the Pkcs9SigningTime class by using the specified signing date and time.

Properties

Oid

Gets an Oid object that represents the type of attribute associated with this Pkcs9AttributeObject object.

(Inherited from Pkcs9AttributeObject)
RawData

Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.

(Inherited from AsnEncodedData)
SigningTime

The SigningTime property retrieves a DateTime structure that represents the date and time that the message was signed.

Methods

CopyFrom(AsnEncodedData)

Copies information from a AsnEncodedData object.

Equals(Object)

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

(Inherited from Object)
Format(Boolean)

Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.

(Inherited from AsnEncodedData)
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