org.javasign.loader
Class KeyStoreLoader
java.lang.Object
|
+--org.javasign.loader.KeyStoreLoader
- public class KeyStoreLoader
- extends java.lang.Object
Constructor Summary |
KeyStoreLoader(java.io.File keystore,
java.lang.String type,
java.lang.String password)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyStoreLoader
public KeyStoreLoader(java.io.File keystore,
java.lang.String type,
java.lang.String password)
throws java.security.KeyStoreException
load
public void load()
throws java.security.KeyStoreException,
java.security.cert.CertificateException,
java.io.IOException,
java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
java.security.KeyStoreException
java.security.cert.CertificateException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
getPrivateKey
public java.security.PrivateKey getPrivateKey()
throws java.security.UnrecoverableKeyException,
java.security.KeyStoreException,
java.security.NoSuchAlgorithmException
java.security.UnrecoverableKeyException
java.security.KeyStoreException
java.security.NoSuchAlgorithmException
getPublicKey
public java.security.PublicKey getPublicKey()
throws java.security.KeyStoreException
java.security.KeyStoreException
getX509Certificate
public java.security.cert.X509Certificate getX509Certificate()
throws java.security.KeyStoreException
java.security.KeyStoreException