|
Certification Path Validation Classes:
The Validation classes of the Certification path API are used to
validate certification path or CertPath objects.
CertPathValidator:
The CertPathValidator class is a singleton class which is an
Engine class used to validate a certification path. After an
instance of the CertpathValidator is obtained through its
singleton factory methods, the instance can validate a
certification path by calling the validate() method. The
validate() method takes the CertPath object representing the
certification path and the CertPathParameters objects that
contains the algorithm specific parameters. If validation is
successful then a CertPathValidatorResult object is returned,
else a CertPathValidatorException is thrown.
CertPathValidatorResult:
The CertPathValidatorResult is a interface that represents the
result of a certification path validation algorithm. It is
designed as a transparent interface and does not directly have
any information of the successful validation result. The actual
result is stored in an algorithm specific class which implements
the CertPathValidatorResult interface. The
CertPathValidatorResult interface will hold the output
parameters specific to a specific certification path validation
algorithm. For example in the PKIX certification path
validation, the result is of type PKIXCertPathValidatorResult
which in turn implements the CertPathValidatorResult interface.
However the calling application only gets an instance of the
CertPathValidatorResult object.
Certification Path Building Classes:
The Certification path building classes are part of the Java
certification path API which is used to build or discover
certification paths. CertPath objects are created using
instances of the CertPathBuilder class. A CertPathBuilder class
is used to discover or find a certification path if one does not
exist. It is a singleton class that creates an instance of
itself through singleton factory methods. Once an object is
created a certification path is created by calling the build
method and passing the CertPathParameters object. If the build
is a success a CertPathBuilderResult object is returned else a
CertPathBuilderException is thrown.
CertPathBuilderResult:
The CertPathBuilderResult interface is a transparent
representation of the output of a certification path builder
program. It contains the CertPath object within it, which can be
obtained through the getCertPath() method. It allows the
functionality of cloning itself so that multiple copies of it
can be made.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|