CertificateHasNoPrivateKeyException Class

 

Configured signing certificates should contain private keys that are used to sign data. This exception is thrown if the certificate configured as a signing certificate does not have its private key.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    System.Web.Security.SingleSignOn.CertificateException
      System.Web.Security.SingleSignOn.CertificateHasNoPrivateKeyException

Syntax

[SerializableAttribute]
public sealed class CertificateHasNoPrivateKeyException : CertificateException, 
    ISerializable
[SerializableAttribute]
public ref class CertificateHasNoPrivateKeyException sealed : CertificateException, 
    ISerializable
[<Sealed>]
[<SerializableAttribute>]
type CertificateHasNoPrivateKeyException = 
    class
        inherit CertificateException
        interface ISerializable
    end
<SerializableAttribute>
Public NotInheritable Class CertificateHasNoPrivateKeyException
    Inherits CertificateException
    Implements ISerializable

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

Gets a message that describes the current exception.(Inherited from CertificateException.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

System_CAPS_pubproperty Thumbprint

Gets or sets the thumbprint of the certificate that generated this exception.(Inherited from CertificateException.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.(Inherited from CertificateException.)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Security.SingleSignOn Namespace

Return to top