[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The MessageCertificateX509Filetype exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
Dispose () () () ()
Dispose of any unmanaged resources
Dispose(Boolean)
Dispose of any unmanaged resources
Encrypt(String)
Encrypts data using certificate
Encrypt( array< Byte > [] () [] [] )
Encrypts data
(Overrides MessageCertificate . . :: . . Encrypt( array< Byte > [] () [] [] ).)
Equals(Object) (Inherited from Object.)
Finalize () () () () (Inherited from Object.)
Find(StoreLocation, String, X509FindType, String)
Attempts to find a certificate and assign the property information to select the matching certificate.

If there's multiple matches, only the first match will be returned.

Find(StoreLocation, String, X509FindType, String, Boolean)
Attempts to find a certificate and assign the property information to select the matching certificate. If there's multiple matches, only the first match will be returned.
GetHashCode () () () () (Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Handles serialization of this class
(Overrides MessageCertificateX509 . . :: . . GetObjectData(SerializationInfo, StreamingContext).)
GetPublicKey () () () ()
Gets public key
GetType () () () () (Inherited from Object.)
Hash( array< Byte > [] () [] [] )
Hashes data using HashAlgorithm algorithm
HashAndSign( array< Byte > [] () [] [] , MessageCertificateSigningOptions)
Hashes data then signs the hash
HashAndSign(String, MessageCertificateSigningOptions)
Signs and hashes data
HashAndSign(String, Encoding, MessageCertificateSigningOptions)
Signs and hashes data
MemberwiseClone () () () () (Inherited from Object.)
OnDeserialization(Object)
Deserialization handler
RemoveCertificateFromStore(MessageCertificateX509File)
Removes certificate from store based on a MessageCertificateX509File instance.

Note that this will dispose any certificate resources from this instance and the X509Certificate object will no longer be usable.

RemoveCertificateFromStore(StoreLocation, String, String)
Removes a certificate from the certificate store
Sign(String)
Signs data using certificate
Sign( array< Byte > [] () [] [] )
Signs data using certificate
(Overrides MessageCertificate . . :: . . Sign( array< Byte > [] () [] [] ).)
Sign( array< Byte > [] () [] [] , String)
Signs data using certificate
Sign(String, Encoding)
Signs data using the certificate
(Overrides MessageCertificate . . :: . . Sign(String, Encoding).)
ToString () () () () (Inherited from Object.)
VerifySignature( array< Byte > [] () [] [] , String)
Verifies signature
VerifySignature( array< Byte > [] () [] [] , array< Byte > [] () [] [] )
Verifies the signature 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 > [] () [] [] ).)
VerifySignature( array< Byte > [] () [] [] , String, Encoding)
Verifies signature
VerifySignature( array< Byte > [] () [] [] , array< Byte > [] () [] [] , String)
Verifies the signature using the certificate specified in the properties. Note: the byte signature is reversed to support interop in native C++ byte signing

See Also