diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/LegacyTlsAuthentication.java | 8 |
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()))
{
|