IP*Works! S/MIME V9

ipworkssmime
Class SnntpSSLServerAuthenticationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ipworkssmime.SnntpSSLServerAuthenticationEvent
All Implemented Interfaces:
java.io.Serializable

public class SnntpSSLServerAuthenticationEvent
extends java.util.EventObject

Fired after the server presents its certificate to the client.

This event is where the client can decide whether to continue with the connection process or not. The Accept parameter is a recommendation on whether to continue or close the connection. This is just a suggestion: application software must use its own logic to determine whether to continue or not.

When Accept is False, Status shows why the verification failed (otherwise, Status contains the string "OK"). If it is decided to continue, you can override and accept the certificate by setting the Accept parameter to True.

See Also:
Snntp, Snntp.SSLServerAuthenticationEvent, Serialized Form

Field Summary
 boolean accept
           
 byte[] certEncoded
           
 java.lang.String certIssuer
           
 java.lang.String certSubject
           
 java.lang.String status
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

certEncoded

public byte[] certEncoded

certSubject

public java.lang.String certSubject

certIssuer

public java.lang.String certIssuer

status

public java.lang.String status

accept

public boolean accept

IP*Works! S/MIME V9

Copyright (c) 2013 /n software inc. - All rights reserved.