Class CertificateUtil
Utility class for working with certificates
Inheritance
System.Object
CertificateUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Client.Authentication
Assembly: ImageVault.Client.dll
Syntax
public static class CertificateUtil
Methods
LoadCertificateFromConfiguration(CertificateConfigurationElement)
Loads a certificate from the supplied configuration
Declaration
public static X509Certificate2 LoadCertificateFromConfiguration(CertificateConfigurationElement config)
Parameters
Type | Name | Description |
---|---|---|
CertificateConfigurationElement | config |
Returns
Type | Description |
---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 |
LoadCertificateFromConfiguration(CertificateReferenceElement)
Loads a certificate from a configuration
Declaration
public static X509Certificate2 LoadCertificateFromConfiguration(CertificateReferenceElement certificateReference)
Parameters
Type | Name | Description |
---|---|---|
System.ServiceModel.Configuration.CertificateReferenceElement | certificateReference | The System.ServiceModel.Configuration.CertificateReferenceElement to load the configuration from |
Returns
Type | Description |
---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 |