Share via


MessageCertificateX509Volatile Class

 

A certificate that is in memory or not in the certificate store, including a handle to an existing certificate.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificate
    Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateX509
      Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateX509Volatile

Syntax

[SerializableAttribute]
public sealed class MessageCertificateX509Volatile : MessageCertificateX509
[SerializableAttribute]
public ref class MessageCertificateX509Volatile sealed : MessageCertificateX509
<SerializableAttribute>
Public NotInheritable Class MessageCertificateX509Volatile
    Inherits MessageCertificateX509

Constructors

Name Description
System_CAPS_pubmethod MessageCertificateX509Volatile(Byte[])

Initializes a new instance of the MessageCertificateX509Volatile class.

System_CAPS_pubmethod MessageCertificateX509Volatile(Byte[], String)

Initializes a new instance of the MessageCertificateX509Volatile class.

System_CAPS_pubmethod MessageCertificateX509Volatile(MessageCertificateX509)

Initializes a new instance of the MessageCertificateX509Volatile class. Build an in-memory certificate by using MessageCertificateX509File.

System_CAPS_pubmethod MessageCertificateX509Volatile(String)

Initializes a new instance of the MessageCertificateX509Volatile class.

System_CAPS_pubmethod MessageCertificateX509Volatile(String, String)

Initializes a new instance of the MessageCertificateX509Volatile class. Reads a PFX certificate file.

System_CAPS_pubmethod MessageCertificateX509Volatile(X509Certificate2)

Initializes a new instance of the MessageCertificateX509Volatile class.

Properties

Name Description
System_CAPS_pubproperty CertificateEncoded

Gets the complete certificate in blob format. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty HashAlgorithmOid

Gets the virtual hash algorithm name in a format that can be used for signing and hashing of messages by using the Crypto API. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty IsDeserialized

If true, the certificate has been deserialized from a binary formatter. At this time, some data is lost when serialization occurs, which allows throwing clear exceptions indicating this. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty IsSelfSigned

Gets a value that indicates whether the certificate is self-signed or issued by a certificate authority (CA). (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty IsVolatile

Indicates whether MessageCertificateX509Volatile is a volatile certificate. (Overrides MessageCertificateX509.IsVolatile.)

System_CAPS_pubproperty PublicKey

Gets the public key for a certificate. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty PublicKeyEncoded

Gets the public key blob for a certificate. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty StoreLocation

Gets or sets the store location. Returns null if the store location is not supported. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty StoreName

Gets or sets the name of the store. Returns null if the store name is not supported. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty Thumbprint

Gets the certificate thumbprint for use in cryptographic operations. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty UseLegacyHashing

If true, legacy hashing should be used. This implies that algorithms should not be specified, depending on the implementation of the message or sender. (Inherited from MessageCertificateX509.)

System_CAPS_pubproperty X509Certificate

Gets the certificate that is specified by Certificate. (Inherited from MessageCertificateX509.)

Methods

Name Description
System_CAPS_pubmethod Dispose()

Dispose of any unmanaged resources. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod Encrypt(Byte[])

Encrypts data. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod Encrypt(String)

Encrypts data using the certificate. (Inherited from MessageCertificate.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Handles Message Certificate X.509 serialization. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod GetPublicKey()

Gets the public key for a certificate. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Hash(Byte[])

Hashes data by using a HashAlgorithm algorithm. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod HashAndSign(Byte[], MessageCertificateSigningOptions)

Hashes data, and then signs the hash. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod HashAndSign(String, Encoding, MessageCertificateSigningOptions)

Hashes data, and then signs the hash. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod HashAndSign(String, MessageCertificateSigningOptions)

Hashes data, and then signs the hash. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod OnDeserialization(Object)

Deserialization handler. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod Sign(Byte[])

Signs data by using a certificate. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod Sign(Byte[], String)

Signs data by using a certificate. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod Sign(String)

Signs data using the certificate. (Inherited from MessageCertificate.)

System_CAPS_pubmethod Sign(String, Encoding)

Signs data by using a certificate. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod VerifyPkcsSignature(Byte[], Byte[])

Performs a Public Key Cryptography Standards (PKCS) signature verification of a blob. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod VerifySignature(Byte[], Byte[])

Verifies the signature by using the certificate specified in the properties.

Note: The byte signature is reversed to support interop in native C++ byte signing. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod VerifySignature(Byte[], Byte[], String)

Verifies the signature by using the certificate specified in the properties.

Note: The byte signature is reversed to support interop in native C++ byte signing. (Inherited from MessageCertificateX509.)

System_CAPS_pubmethod VerifySignature(Byte[], String)

Verifies a signature by using the certificate. (Inherited from MessageCertificate.)

System_CAPS_pubmethod VerifySignature(Byte[], String, Encoding)

Verifies a signature by using the certificate. (Inherited from MessageCertificate.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top