org.eparapher.core.crypto.keystore
Class HardwareKeyStore

java.lang.Object
  extended by org.eparapher.core.crypto.keystore.GenericKeystore
      extended by org.eparapher.core.crypto.keystore.HardwareKeyStore
All Implemented Interfaces:
IGenericStore, IUserKeystore

public class HardwareKeyStore
extends GenericKeystore


Field Summary
protected  KeyStore.Builder builder
           
 
Fields inherited from class org.eparapher.core.crypto.keystore.GenericKeystore
currentalias, currentaliasselected, currentPrivateKey, currentPublicKey, currentX509Certificate, currentX509CertificateChain, ks, loadedKeystore
 
Constructor Summary
HardwareKeyStore()
           
 
Method Summary
 boolean exists()
           
 void getKeyStore()
           
 KeystoreEntry[] getKeystoreEntries()
           
 boolean initialize()
           
 boolean isPkcs11BridgeLoaded()
           
 boolean isRemoved()
           
 boolean loadKeyStore()
           
 boolean loadKeyStore(String secret)
           
 boolean loadPrivateKey()
           
 boolean saveKeyStore()
           
 void setRemoved(boolean mremoved)
           
 
Methods inherited from class org.eparapher.core.crypto.keystore.GenericKeystore
autoSelectAlias, containsAlias, getDefaultAlias, getKeystore, getPrivateKey, getProviderName, getPublicKey, getTrustAnchors, getTrustedCertificates, getX509Certificate, getX509CertificateChain, isKeystoreLoaded, loadPrivateKey, loadPublicInformation, newcertificate, selectAlias, setDefaultAlias
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

protected KeyStore.Builder builder
Constructor Detail

HardwareKeyStore

public HardwareKeyStore()
Method Detail

getKeyStore

public void getKeyStore()

loadKeyStore

public boolean loadKeyStore()

getKeystoreEntries

public KeystoreEntry[] getKeystoreEntries()
Specified by:
getKeystoreEntries in interface IUserKeystore
Overrides:
getKeystoreEntries in class GenericKeystore

isRemoved

public boolean isRemoved()

setRemoved

public void setRemoved(boolean mremoved)

loadPrivateKey

public boolean loadPrivateKey()

loadKeyStore

public boolean loadKeyStore(String secret)

saveKeyStore

public boolean saveKeyStore()

isPkcs11BridgeLoaded

public boolean isPkcs11BridgeLoaded()

exists

public boolean exists()

initialize

public boolean initialize()


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.