All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.gov.nist.javax.sip.TlsSecurityPolicy Maven / Gradle / Ivy

There is a newer version: 1.3.0-91
Show newest version
package android.gov.nist.javax.sip;

/**
 * An implementation of this interface can be registered with the sip stack using the 
 * configuration property android.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.
     * @param transaction -- the transaction context for the connection
     * @throws SecurityException -- if the certificates extracted from the client transaction are not acceptable.
     */

    public void enforceTlsPolicy(ClientTransactionExt transaction) throws SecurityException;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy