| java.lang.Object org.ofbiz.base.util.KeyStoreUtil
KeyStoreUtil | public class KeyStoreUtil (Code) | | KeyStoreUtil - Utilities for getting KeyManagers and TrustManagers
author: Andy Zeneski version: $Revision: 1.6 $ since: 3.0 |
Method Summary | |
public static String | certToString(Certificate cert) | public static KeyPair | createDHKeyPair() | public static KeyStore | createKeyStore(String fileName, String password) | public static SecretKey | generateSecretKey(PrivateKey ourKey, PublicKey theirKey) | public static KeyPair | getKeyPair(String alias, String password) | public static KeyStore | getKeyStore() | public static String | getKeyStoreFileName() | public static String | getKeyStorePassword() | public static String | getKeyStoreType() | public static KeyStore | getTrustStore() | public static String | getTrustStoreFileName() | public static String | getTrustStorePassword() | public static String | getTrustStoreType() | public static void | importPKCS8CertChain(KeyStore ks, String alias, byte[] keyBytes, String keyPass, byte[] certChain) | public static boolean | keyStoreExists(String fileName) | public static PrivateKey | readDHPrivateKey(byte[] keyBytes) | public static PublicKey | readDHPublicKey(byte[] keyBytes) | public static void | renameKeyStoreEntry(String fromAlias, String toAlias) | public static void | saveKeyStore(KeyStore ks) | public static void | saveTrustStore(KeyStore ks) | public static void | storeCertificate(String alias, Certificate cert) | public static void | storeKeyPair(KeyPair keyPair, String alias, String password) | public static Certificate | stringToCert(String certString) |
getKeyStoreFileName | public static String getKeyStoreFileName()(Code) | | |
getKeyStorePassword | public static String getKeyStorePassword()(Code) | | |
getTrustStoreFileName | public static String getTrustStoreFileName()(Code) | | |
getTrustStorePassword | public static String getTrustStorePassword()(Code) | | |
getTrustStoreType | public static String getTrustStoreType()(Code) | | |
keyStoreExists | public static boolean keyStoreExists(String fileName)(Code) | | |
|
|