Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package gov.nist.javax.sip.stack;
 public class DefaultTlsSecurityPolicy implements TlsSecurityPolicy {

Enforce any application-specific security policy for TLS clients. Called when establishing an outgoing TLS connection.

transaction -- the transaction context for the connection
java.lang.SecurityException -- if the connection should be rejected
    public void enforceTlsPolicy(ClientTransactionExt transactionthrows SecurityException
       // accept everything: do not throw exception
New to GrepCode? Check out our FAQ X