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

The MessageCertificateX509type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
CreateAndStoreSelfSignedCertificate(String, String, String, StoreLocation, array< String > [] () [] [] , DateTime, DateTime)
Creates a self-signed certificate and stores it in the certificate store
CreateSelfSignedCertificate(String, String, array< String > [] () [] [] , DateTime, DateTime)
Creates a self-signed certificate
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 > [] () [] [] ).)
Encrypt( array< Byte > [] () [] [] , array< X509Certificate2 > [] () [] [] )
Encrypts data
Equals(Object) (Inherited from Object.)
Finalize () () () () (Inherited from Object.)
GetHashCode () () () () (Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Handles MessageCertificateX509 serialization
GetPublicKey () () () ()
Gets public key
GetType () () () () (Inherited from Object.)
Hash( array< Byte > [] () [] [] )
Hashes data using HashAlgorithm algorithm
Hash( array< Byte > [] () [] [] , String)
Hashes data using HashAlgorithm algorithm
HashAlgorithmOidToAlgId(String)
Converts an OID to an AlgID
HashAlgorithmToAlgId(String)
Converts a hash algorithm string representation to a WinCrypt-recognized algorithm ID
HashAlgorithmToOid(String)
Converts a hash algorithm to its OID form
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
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