Class ServerCertificateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.cert.CertificateException
ghidra.net.ServerCertificateException
- All Implemented Interfaces:
Serializable
ServerCertificateException is thrown when TLS/SSL server
certificate validation fails during an attempted server connection.- See Also:
-
Constructor Summary
ConstructorsChangeConstructorDescriptionServerCertificateException(X509Certificate[] serverCertChain, CertificateException cause) Constructor -
Method Summary
ChangeModifier and TypeMethodDescriptionReturns server certificate chain.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerCertificateException
Constructor- Parameters:
serverCertChain- TLS peer certificate chain, with the server identity firstcause- underlying validation cause
-
-
Method Details
-
getServerCertChain
Returns server certificate chain.- Returns:
- server certificate chain
-