[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Base class encapsulating X509 certificates for
messages
Namespace:
Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
C# | Visual Basic | Visual C++ |
[ SerializableAttribute] public abstract class MessageCertificateX509 : MessageCertificate, IDisposable, ISerializable, IDeserializationCallback
< SerializableAttribute> _ Public MustInherit Class MessageCertificateX509 _ Inherits MessageCertificate _ Implements IDisposable, ISerializable, IDeserializationCallback
[ SerializableAttribute] public ref class MessageCertificateX509 abstract : public MessageCertificate, IDisposable, ISerializable, IDeserializationCallback
Members
All Members | Properties | Methods |
Public
Protected
|
Instance
Static
|
Declared
Inherited
|
XNA Framework Only
.NET Compact Framework
Only
|
|
Member | Description | |
---|---|---|
CertificateEncoded |
Returns complete certificate in blob
format
|
|
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.) | |
HasDisposed |
If true, the certificate object has been
disposed
|
|
Hash( array< Byte > [] () [] [] ) |
Hashes data using HashAlgorithm
algorithm
|
|
Hash( array< Byte > [] () [] [] , String) |
Hashes data using HashAlgorithm
algorithm
|
|
HashAlgorithmName |
Gets the hash algorithm name in a format that
can be used by .NET's crypto code
|
|
HashAlgorithmOid |
Gets the virtual hash algorithm name in a
format that can be used for Crypto API signing and hashing of
messages
|
|
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
|
|
IsDeserialized |
If true, the certificate has been deserialized
from a binary formatter. At this time, some data is lost when
serialization occurs and this allows us to throw clear exceptions
indicating this.
|
|
IsVolatile |
If true, certificate is volatile and stored in
memory. If false, certificate is stored in a certificate store and
is usable globally.
|
|
MemberwiseClone () () () () | (Inherited from Object.) | |
OnDeserialization(Object) |
Deserialization handler
|
|
PrivateKeyCsp |
Gets the CSP for the private key
|
|
PublicKey |
Gets public key of certificate (Overrides
MessageCertificate
.
.
::
.
.
PublicKey.) |
|
PublicKeyEncoded |
Gets public key blob of
certificate (Overrides
MessageCertificate
.
.
::
.
.
PublicKeyEncoded.) |
|
RawCertificate |
Represents the raw certificate (including
private key) in raw form
|
|
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).) |
|
StoreLocation |
Gets or sets the store location. Returns null
if the store location is not supported.
|
|
StoreName |
Gets or sets the name of the store. Returns
null if the store name is not supported.
|
|
Synchronizer |
Synchronization object for locking across
threads
|
|
Thumbprint |
Allows the user to get and the thumbprint of
the certificate to use for cryptographic operations
|
|
ToString () () () () | (Inherited from Object.) | |
UseLegacyHashing |
If this is true, legacy hashing should be
used. This implies that algorithms should not be specified
depending on the implementation of the message or sender.
|
|
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
|
|
X509Certificate |
Returns the certificate that is specified by
Certificate
|
Inheritance Hierarchy
System
.
.
::
.
.
Object
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificate
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificateX509
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificateX509File
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificateX509Volatile
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificate
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificateX509
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificateX509File
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageCertificateX509Volatile