iaik.security.ssl
Class DefaultNoTrustChainVerifier

java.lang.Object
  extended by iaik.security.ssl.ChainVerifier
      extended by iaik.security.ssl.DefaultNoTrustChainVerifier

public class DefaultNoTrustChainVerifier
extends ChainVerifier

Alternative ChainVerifier implementation that rejects any certificate if no trust anchor has been set.

This ChainVerifier changes the default trust policy to NOT trust a certificate if no trusted certificate has been added yet. The main ChainVerifier implementation trusts a successfully verified certificate chain if no trust anchor is set.


Field Summary
 
Fields inherited from class iaik.security.ssl.ChainVerifier
CACHE_SIZE, cachedCerts, cacheSize, checkServerName, nullTrusted, trustedCerts
 
Constructor Summary
DefaultNoTrustChainVerifier()
          Default constructor.
 
Method Summary
 
Methods inherited from class iaik.security.ssl.ChainVerifier
addTrustedCertificate, cacheCertificate, cacheCertificates, clearCachedCertificates, clearTrustedCertificates, dumpCertificateChain, getCertificateChain, getCheckServerName, getIssuerCertificate, getTrustedCertificates, getTrustedCertificatesArray, getTrustedPrincipals, getTrustedPrincipalsArray, isCachedCertificate, isTrustedCertificate, removeTrustedCertificate, setCacheSize, setCheckServerName, size, verifyCertificate, verifyChain, verifyChain, verifyClient, verifyServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNoTrustChainVerifier

public DefaultNoTrustChainVerifier()
Default constructor.


This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 5.104, (c) 2002 IAIK, (c) 2003 - 2015 SIC