org.pre4j.crypto
Class KeyInfo

java.lang.Object
  extended by org.pre4j.crypto.KeyInfo

public class KeyInfo
extends java.lang.Object

This class is for TODO

Author:
Mark Giereth

Constructor Summary
KeyInfo(java.security.cert.Certificate cert, AlgorithmParams param)
           
KeyInfo(java.security.Key key, AlgorithmParams param)
           
 
Method Summary
 java.security.cert.Certificate getCert()
           
 java.security.Key getKey()
           
 java.lang.String getKeyID()
           
 java.lang.String getKeyType()
           
 AlgorithmParams getParameter()
           
 boolean hasCert()
           
 boolean hasKey()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyInfo

public KeyInfo(java.security.cert.Certificate cert,
               AlgorithmParams param)

KeyInfo

public KeyInfo(java.security.Key key,
               AlgorithmParams param)
Method Detail

getCert

public java.security.cert.Certificate getCert()

getKey

public java.security.Key getKey()

getKeyID

public java.lang.String getKeyID()

getKeyType

public java.lang.String getKeyType()

getParameter

public AlgorithmParams getParameter()

hasCert

public boolean hasCert()

hasKey

public boolean hasKey()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object