blob: de13e850397fd6d314071b1cb43ba8a0a5900b0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package org.spongycastle.crypto.tls;
/**
* A certificate verifyer, that will always return true.
* <p/>
* <pre>
* DO NOT USE THIS FILE UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING.
* </pre>
*
* @deprecated Perform certificate verification in TlsAuthentication implementation
*/
public class AlwaysValidVerifyer
implements CertificateVerifyer
{
/**
* Return true.
*
* @see org.spongycastle.crypto.tls.CertificateVerifyer#isValid(org.spongycastle.asn1.x509.Certificate[])
*/
public boolean isValid(org.spongycastle.asn1.x509.Certificate[] certs)
{
return true;
}
}
|