blob: 961408ae10431426f73564c0c94bcff66fe903bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package org.bouncycastle.crypto.tls;
/**
* A certificate verifyer, that will always return true.
* <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.bouncycastle.crypto.tls.CertificateVerifyer#isValid(org.bouncycastle.asn1.x509.Certificate[])
*/
public boolean isValid(org.bouncycastle.asn1.x509.Certificate[] certs)
{
return true;
}
}
|