org.bouncycastle.tls.TlsSRPConfigVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-jdk14 Show documentation
Show all versions of bctls-jdk14 Show documentation
The Bouncy Castle Java APIs for TLS and DTLS.
package org.bouncycastle.tls;
import org.bouncycastle.tls.crypto.TlsSRPConfig;
/**
* Interface for verifying SRP config needs to conform to.
*/
public interface TlsSRPConfigVerifier
{
/**
* Check whether the given SRP configuration is acceptable for use.
*
* @param srpConfig the {@link TlsSRPConfig} to check.
* @return true if (and only if) the specified configuration is acceptable.
*/
boolean accept(TlsSRPConfig srpConfig);
}