The Certificate type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkCertificate(array<Byte>[]()[][])
Loads a certificate from an array.
Public methodSupported by the .NET Compact FrameworkCertificate(IntPtr)
Creates a new instance of Certificate based on the specified context.
Public methodSupported by the .NET Compact FrameworkCertificate(X509Certificate)
Creates a new instance of Certificate based on the specified certificate X509Certificate or X509Certificate2.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAssociate(AsymmetricAlgorithm)
Associates the supplied private key with the certificate to perform operations that need a private key.
Public methodSupported by the .NET Compact FrameworkAssociate(AsymmetricKeyAlgorithm)
Associates the supplied private key with the certificate to perform operations that need a private key.
Public methodSupported by the .NET Compact FrameworkAssociate(PrivateKeyInfo)
Associates the supplied private key with the certificate to perform operations that need a private key.
Public methodSupported by the .NET Compact FrameworkAssociate(AsymmetricAlgorithm, Boolean)
Associates the supplied private key with the certificate to perform operations that need a private key.
Public methodSupported by the .NET Compact FrameworkAssociate(AsymmetricKeyAlgorithm, Boolean)
Associates the supplied private key with the certificate to perform operations that need a private key.
Public methodSupported by the .NET Compact FrameworkAssociate(PrivateKeyInfo, Boolean)
Associates the supplied private key with the certificate to perform operations that need a private key.
Public methodSupported by the .NET Compact FrameworkDecrypt
Decrypts data.
Public methodSupported by the .NET Compact FrameworkDispose
Disposes the object and releases resources.
Public methodSupported by the .NET Compact FrameworkEncrypt
Encrypts data.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetAuthorityKeyIdentifier
Returns the certificate's issuer key identifier (AKI).
Public methodSupported by the .NET Compact FrameworkGetCertHash
Returns the hash value for the X.509v3 certificate as an array of bytes.
Public methodSupported by the .NET Compact FrameworkGetCommonName
Returns the certificate's common name, if available.
Public methodSupported by the .NET Compact FrameworkGetCommonNames
Returns the list of certificate's common names.
Public methodSupported by the .NET Compact FrameworkGetCrlDistributionPoints
Returns the collection of CRL distribution points.
Public methodSupported by the .NET Compact FrameworkGetDSAParameters()()()()
Returns the DSA parameters of certificate's public key.
Public methodSupported by the .NET Compact FrameworkGetDSAParameters(Boolean, Boolean)
Returns the DSA parameters of certificate's public or private key. True if private key parameters are to be exported as well.If set to true, the cryptographic provider should not display any user interface (UI) when exporting private key parameters.
Public methodSupported by the .NET Compact FrameworkGetEffectiveDate
Returns the effective date of this X.509v3 certificate (in local time).
Public methodSupported by the .NET Compact FrameworkGetEnhancedUsage
Returns an array of enhanced key usage identifiers.
Public methodSupported by the .NET Compact FrameworkGetExpirationDate
Returns the expiration date of this X.509v3 certificate (in local time).
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetIntendedUsage
Returns the intended key usage value.
Public methodSupported by the .NET Compact FrameworkGetIssuer
Returns the DN of the certification authority that issued the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetIssuerName
Returns the name of the certification authority that issued the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetKeyAlgorithmParameters
Returns the key algorithm parameters for the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetKeySize
Returns the size of the key in bits.
Public methodSupported by the .NET Compact FrameworkGetMailAddresses
Returns the list of certificate's e-mail addresses.
Public methodSupported by the .NET Compact FrameworkGetPrivateKeyInfo
Returns the private key info for the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetPublicKey
Returns the public key for the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetPublicKeyInfo
Returns the public key info for the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetRawCertData
Returns the raw data for the entire X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetRSAParameters()()()()
Returns the RSA parameters of certificate's public key.
Public methodSupported by the .NET Compact FrameworkGetRSAParameters(Boolean, Boolean)
Returns the RSA parameters of certificate's public or private key.
Public methodSupported by the .NET Compact FrameworkGetSerialNumber
Returns the serial number of the X.509v3 certificate.
Public methodSupported by the .NET Compact FrameworkGetSignatureHashAlgorithm
Returns the hash algorithm used to create the signature of this certificate.
Public methodSupported by the .NET Compact FrameworkGetSubject
Returns DN of the principal to which the certificate was issued.
Public methodSupported by the .NET Compact FrameworkGetSubjectKeyIdentifier
Returns the certificate's subject key identifier (SKI).
Public methodSupported by the .NET Compact FrameworkGetSubjectName
Returns the name of the principal to which the certificate was issued.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetUsage Obsolete.
Public methodSupported by the .NET Compact FrameworkHasPrivateKey
Checks whether a private key for this certificate is available.
Public methodSupported by the .NET Compact FrameworkIsTimeValid
Checks whether a certificate is time valid.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadDer(Stream)
Loads a DER encoded certificate from the specified stream.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadDer(String)
Loads a DER encoded certificate from the specified file.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadDerWithKey(Stream, Stream, String)
Loads a DER encoded certificate and a private key (in PKCS #8, PuTTY or SSLeay format) from the specified streams.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadDerWithKey(String, String, String)
Loads a DER encoded certificate and a private key (in PKCS #8, PuTTY or SSLeay format) from the specified files.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadPfx(array<Byte>[]()[][], String)
Loads a certificate with a private key from a PKCS#12 (PFX) array.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadPfx(String, String)
Loads a certificate with a private key from a PKCS#12 (PFX) file.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadPfx(array<Byte>[]()[][], String, KeySetOptions)
Loads a certificate with a private key from a PKCS#12 (PFX) array.
Public methodStatic memberSupported by the .NET Compact FrameworkLoadPfx(String, String, KeySetOptions)
Loads a certificate with a private key from a PKCS#12 (PFX) file.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSave(Stream)
Saves the certificate to the supplied stream in DER format.
Public methodSupported by the .NET Compact FrameworkSave(String)
Saves the certificate to the supplied file in DER format.
Public methodSupported by the .NET Compact FrameworkSave(Stream, CertificateFormat)
Saves the certificate to the supplied stream in specified format.
Public methodSupported by the .NET Compact FrameworkSave(String, CertificateFormat)
Saves the certificate to the supplied file in specified format.
Public methodSupported by the .NET Compact FrameworkSave(Stream, CertificateFormat, String)
Saves the certificate to the supplied stream in specified format.
Public methodSupported by the .NET Compact FrameworkSave(String, CertificateFormat, String)
Saves the certificate to the supplied file in specified format.
Public methodSupported by the .NET Compact FrameworkSavePrivateKey(Stream, String, PrivateKeyFormat, Boolean)
Saves the certificate's private key to the supplied stream.
Public methodSupported by the .NET Compact FrameworkSavePrivateKey(String, String, PrivateKeyFormat, Boolean)
Saves the certificate's private key to the supplied file.
Public methodSupported by the .NET Compact FrameworkSignHash
Computes the signature for the specified hash value by encrypting it with the private key.
Public methodSupported by the .NET Compact FrameworkSignMessage(array<Byte>[]()[][])
Computes the signature for the specified message by encrypting it with the private key.
Public methodSupported by the .NET Compact FrameworkSignMessage(array<Byte>[]()[][], SignatureParameters)
Computes the signature for the specified message by encrypting it with the private key.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkValidate()()()()
Verifies the validity of the certificate.
Public methodSupported by the .NET Compact FrameworkValidate(ValidationOptions)
Verifies the validity of the certificate, including its compliance with the specified criteria.
Public methodSupported by the .NET Compact FrameworkValidate(String, ValidationOptions)
Verifies the validity of the certificate, including its compliance with the specified criteria.
Public methodSupported by the .NET Compact FrameworkValidate(String, ValidationOptions, CertificateChainEngine)
Verifies the validity of the certificate, including its compliance with the specified criteria, using the specified chain engine.
Public methodSupported by the .NET Compact FrameworkValidateRevocationList
Validates the specified certificate revocation list (issued by this certificate).
Public methodSupported by the .NET Compact FrameworkVerifyHash
Verifies the specified signature data by comparing it to the signature computed for the specified hash value.
Public methodSupported by the .NET Compact FrameworkVerifyMessage(array<Byte>[]()[][], array<Byte>[]()[][])
Verifies the specified signature data by comparing it to the signature computed for the specified message.
Public methodSupported by the .NET Compact FrameworkVerifyMessage(array<Byte>[]()[][], array<Byte>[]()[][], SignatureParameters)
Verifies the specified signature data by comparing it to the signature computed for the specified message.

Operators

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkExtensions
Gets the certificates extensions collection.
Public propertySupported by the .NET Compact FrameworkHandle
Gets a handle of the certificate.
Public propertySupported by the .NET Compact FrameworkKeyAlgorithm
Returns the key algorithm for this certificate.
Public propertySupported by the .NET Compact FrameworkTag
Gets or sets a custom object associated with this particular instance of Certificate. This value is not persisted.
Public propertySupported by the .NET Compact FrameworkThumbprint
Gets the thumbprint of the certificate.

See Also