Partager via


X509Util Members

A utility class for working with System.Security.Cryptography.X509Certificates.X509Certificate2 X.509 certificates.

The following tables list the members exposed by the X509Util type.

Public Fields

  Name Description
public field static KeyUsageOID Represents the object identifier (OID) for the key usage extension.
public field static SubjectKeyIdentifierOID Represents the object identifier (OID) for the subject key identifier extension.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method static CreateIssuerSerialReference  
public method Equals  Overloaded. (Inherited from Object )
public method static FindCertificateByKeyIdentifier Finds an X.509 certificate by using its subject key identifier in the specified X.509 store name and location.
public method static FindCertificateBySubjectName Finds an X.509 certificate by using its name in the specified X.509 store name and location.
public method GetHashCode  (Inherited from Object )
public method static GetKey Gets the private key for the specified X.509 certificate if available; otherwise the public key.
public method static GetKeyIdentifier Overloaded. Get the subject key identifier for the specified X.509 certificate.
public method static GetKeyIdentifierFromCAPI Gets the subject key identifier for the specified X.509 certificate using the CAPI algorithm.
public method static GetKeyIdentifierFromExtension Gets the subject key identifier for the specified X.509 certificate using the SubjectKeyIdentifierOID extension.
public method static GetKeyIdentifierFromPublicKey Gets the subject key identifier for the specified X.509 certificate using its public key.
public method static GetKeyIdentifierFromRawData Get the SHA1 hash of the X.509 certificate.
public method static GetKeyUsageExtension Get the KeyUsageOID key usage extension for the specified X.509 certificate.
public method GetType  (Inherited from Object )
public method static IsCurrent Gets a value indicating whether the specified X.509 certificate is currently valid.
public method static ReferenceEquals  (Inherited from Object )
public method static SupportsDataEncryption Gets a value indicating whether the specified X.509 certificate can be used to encrypt SOAP messages.
public method static SupportsDigitalSignature Gets a value indicating whether the specified X.509 certificate supports digital signatures.
public method static SupportsKeyEncipherment Gets a value indicating whether the specified X.509 certificate supports key encryption.
public method ToString  (Inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

Reference

X509Util Class
Microsoft.Web.Services3.Security.X509 Namespace