Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

SSLexample.hello
Class ExampleTrustDecider  view ExampleTrustDecider download ExampleTrustDecider.java

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended bySSLexample.hello.ExampleTrustDecider
All Implemented Interfaces:
org.omg.CORBA.Object

public class ExampleTrustDecider
extends org.omg.CORBA.LocalObject

Implements a simple trust decider as required by JFSSL; always returns true and prints out the requesting chain

The code in SSLTools looks for a setVerbose(boolean) method and calls it if there.


Field Summary
(package private)  boolean verbose
          controls amount of output to sysout
 
Fields inherited from class org.omg.CORBA.LocalObject
 
Constructor Summary
ExampleTrustDecider()
           
 
Method Summary
 boolean is_trusted(com.ooc.FSSL.Certificate[] chain)
           
 void setVerbose(boolean inVerbose)
          Set the verbose flag
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

boolean verbose
controls amount of output to sysout

Constructor Detail

ExampleTrustDecider

public ExampleTrustDecider()
Method Detail

setVerbose

public void setVerbose(boolean inVerbose)
Set the verbose flag


is_trusted

public boolean is_trusted(com.ooc.FSSL.Certificate[] chain)