Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package gov.nist.javax.sip;

An implementation of this interface can be registered with the sip stack using the configuration property gov.nist.javax.sip.TLS_SECURITY_POLICY
 
 public interface TlsSecurityPolicy {

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

Parameters:
transaction -- the transaction context for the connection
Throws:
java.lang.SecurityException -- if the certificates extracted from the client transaction are not acceptable.
    public void enforceTlsPolicy(ClientTransactionExt transactionthrows SecurityException;
New to GrepCode? Check out our FAQ X