Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java')
-rw-r--r--src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java b/src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java
index 51da5d1d..9bcf2deb 100644
--- a/src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java
+++ b/src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java
@@ -4,10 +4,11 @@ import java.io.IOException;
/**
* A temporary class to wrap old CertificateVerifyer stuff for new TlsAuthentication
- *
+ *
* @deprecated
*/
-public class LegacyTlsAuthentication extends ServerOnlyTlsAuthentication
+public class LegacyTlsAuthentication
+ extends ServerOnlyTlsAuthentication
{
protected CertificateVerifyer verifyer;
@@ -16,7 +17,8 @@ public class LegacyTlsAuthentication extends ServerOnlyTlsAuthentication
this.verifyer = verifyer;
}
- public void notifyServerCertificate(Certificate serverCertificate) throws IOException
+ public void notifyServerCertificate(Certificate serverCertificate)
+ throws IOException
{
if (!this.verifyer.isValid(serverCertificate.getCertificateList()))
{