All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.certappl.FingerprintHandler

java.lang.Object
   |
   +----semper.certappl.FingerprintHandler

public class FingerprintHandler
extends Object
This class offers functionalities for handling with fingerprints


Constructor Index

 o FingerprintHandler()
Constructor of class FingerprintHandler.

Method Index

 o computeIt(String, CryptoKeyInfo, HashingAlgorithm)
Class computeIt computes the fingerprint of trustedPK of CA determined with its distinguished name "caDN".
 o readItFromFile(RandomAccessFile)
Not implemented yet!
 o showItInTinguin(String, String, HashingAlgorithm)
Class showItInTinguin shows an already computed fingerprint through Tinguin display.
 o writeItToFile(String, String)
Class writeItToFile writes an already computed fingerprint in a defined file.

Constructors

 o FingerprintHandler
 public FingerprintHandler()
Constructor of class FingerprintHandler.

Methods

 o computeIt
 public String computeIt(String caDN,
                         CryptoKeyInfo trustedPK,
                         HashingAlgorithm hashAlg) throws CertificateManException
Class computeIt computes the fingerprint of trustedPK of CA determined with its distinguished name "caDN".

Parameters:
caDN - = CA's distinguished name
trustedPK - = public key of RA/CA which should be trusted.
hashAlg - = Hash algorithm which is used to compute fingerprint of trustedPK.
Returns:
fingerprint as a string.
Throws: CertificateManException
is thrown if computeIt class encountered trouble.
 o showItInTinguin
 public boolean showItInTinguin(String caDN,
                                String fingerPrint,
                                HashingAlgorithm hashAlg) throws CertificateManException
Class showItInTinguin shows an already computed fingerprint through Tinguin display.

Parameters:
caDN - = CA's distinguished name
fingerprint - = fingerprint to shown.
hashAlg - = Hash algorithm which is used to compute fingerprint of trustedPK.
Returns:
boolean value.
Throws: CertificateManException
is thrown if showItInTinguin class encountered trouble.
 o writeItToFile
 public String writeItToFile(String fingerprint,
                             String filename) throws IOException
Class writeItToFile writes an already computed fingerprint in a defined file.

Parameters:
fingerprint - = fingerprint to shown.
filename - = Name of an RandomAccessFile the fingerprint should be written into.
Returns:
fingerprint as a string.
Throws: IOException
is thrown if writeItToFile class encountered trouble by creating new RandomAccessFile.
 o readItFromFile
 public void readItFromFile(RandomAccessFile file)
Not implemented yet!


All Packages  Class Hierarchy  This Package  Previous  Next  Index