MessageCertificateX509 Class

 

Base class that encapsulates X509 certificates for messages.

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


[SerializableAttribute]
public ref class MessageCertificateX509 abstract : MessageCertificate, 
	IDisposable, ISerializable, IDeserializationCallback

NameDescription
System_CAPS_pubpropertyCertificateEncoded

Gets the complete certificate in blob format.

System_CAPS_protpropertyHasDisposed

True if the certificate object has been disposed; otherwise, false.

System_CAPS_protpropertyHashAlgorithmName

Gets the hash algorithm name in a format that can be used by .NET cryptography.

System_CAPS_pubpropertyHashAlgorithmOid

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

System_CAPS_pubpropertyIsDeserialized

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.

System_CAPS_pubpropertyIsSelfSigned

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

System_CAPS_pubpropertyIsVolatile

If true, the certificate is volatile and stored in memory. If false, the certificate is stored in a certificate store and can be used globally.

System_CAPS_protpropertyPrivateKeyCsp

Gets the Cryptographic Service Provider (CSP) for the private key.

System_CAPS_pubpropertyPublicKey

Gets the public key for a certificate. (Overrides MessageCertificate::PublicKey.)

System_CAPS_pubpropertyPublicKeyEncoded

Gets the public key blob for a certificate. (Overrides MessageCertificate::PublicKeyEncoded.)

System_CAPS_protpropertyRawCertificate

Represents the raw certificate (including the private key) in raw format.

System_CAPS_pubpropertyStoreLocation

Gets or sets the store location. Returns null if the store location is not supported.

System_CAPS_pubpropertyStoreName

Gets or sets the name of the store. Returns null if the store name is not supported.

System_CAPS_protpropertySynchronizer

Gets the synchronization object to use for locking across threads. (Inherited from MessageCertificate.)

System_CAPS_pubpropertyThumbprint

Gets the certificate thumbprint for use in cryptographic operations.

System_CAPS_pubpropertyUseLegacyHashing

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

System_CAPS_pubpropertyX509Certificate

Gets the certificate that is specified by Certificate.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateAndStoreSelfSignedCertificate(String^, String^, String^, StoreLocation, array<String^>^, DateTime, DateTime)

Creates a self-signed certificate and stores it in the certificate store.

System_CAPS_pubmethodSystem_CAPS_staticCreateSelfSignedCertificate(String^, String^, array<String^>^, DateTime, DateTime)

Creates a self-signed certificate.

System_CAPS_pubmethodDispose()

Dispose of any unmanaged resources.

System_CAPS_protmethodDispose(Boolean)

Dispose of any unmanaged resources.

System_CAPS_pubmethodEncrypt(array<Byte>^)

Encrypts data. (Overrides MessageCertificate::Encrypt(array<Byte>^).)

System_CAPS_pubmethodSystem_CAPS_staticEncrypt(array<Byte>^, array<X509Certificate2^>^)

Encrypts data.

System_CAPS_pubmethodEncrypt(String^)

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

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Handles Message Certificate X.509 serialization.

System_CAPS_pubmethodGetPublicKey()

Gets the public key for a certificate.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHash(array<Byte>^)

Hashes data by using a HashAlgorithm algorithm.

System_CAPS_pubmethodSystem_CAPS_staticHash(array<Byte>^, String^)

Hashes data using a HashAlgorithm algorithm.

System_CAPS_pubmethodSystem_CAPS_staticHashAlgorithmOidToAlgId(String^)

Converts an OID to an AlgID.

System_CAPS_pubmethodSystem_CAPS_staticHashAlgorithmToAlgId(String^)

Converts a hash algorithm string representation to an algorithm ID recognized by WinCrypt.

System_CAPS_pubmethodSystem_CAPS_staticHashAlgorithmToOid(String^)

Converts a hash algorithm to its OID representation.

System_CAPS_pubmethodHashAndSign(array<Byte>^, MessageCertificateSigningOptions)

Hashes data, and then signs the hash.

System_CAPS_pubmethodHashAndSign(String^, Encoding^, MessageCertificateSigningOptions)

Hashes data, and then signs the hash.

System_CAPS_pubmethodHashAndSign(String^, MessageCertificateSigningOptions)

Hashes data, and then signs the hash.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOnDeserialization(Object^)

Deserialization handler.

System_CAPS_pubmethodSign(array<Byte>^)

Signs data by using a certificate. (Overrides MessageCertificate::Sign(array<Byte>^).)

System_CAPS_pubmethodSign(array<Byte>^, String^)

Signs data by using a certificate.

System_CAPS_pubmethodSign(String^)

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

System_CAPS_pubmethodSign(String^, Encoding^)

Signs data by using a certificate. (Overrides MessageCertificate::Sign(String^, Encoding^).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodVerifyPkcsSignature(array<Byte>^, array<Byte>^)

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

System_CAPS_pubmethodVerifySignature(array<Byte>^, array<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. (Overrides MessageCertificate::VerifySignature(array<Byte>^, array<Byte>^).)

System_CAPS_pubmethodVerifySignature(array<Byte>^, array<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.

System_CAPS_pubmethodVerifySignature(array<Byte>^, String^)

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

System_CAPS_pubmethodVerifySignature(array<Byte>^, String^, Encoding^)

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

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

Return to top
Show: