net.jradius.tls
Class AlwaysValidVerifyer
java.lang.Object
net.jradius.tls.AlwaysValidVerifyer
- All Implemented Interfaces:
- CertificateVerifyer
public class AlwaysValidVerifyer
- extends Object
- implements CertificateVerifyer
A certificate verifyer, that will always return true.
DO NOT USE THIS FILE UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING.
Method Summary |
boolean |
isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[] certs)
Return true. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysValidVerifyer
public AlwaysValidVerifyer()
isValid
public boolean isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[] certs)
- Return true.
- Specified by:
isValid
in interface CertificateVerifyer
- Parameters:
certs
- The certs, which are part of the chain.
- Returns:
- True, if the chain is accepted, false otherwise.
- See Also:
org.bouncycastle.crypto.tls.CertificateVerifyer#isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[])
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.