
public class KeyStores extends Object
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
decode(byte[] dehydrated,
char[] password) |
static KeyStore |
decode(String type,
byte[] dehydrated,
char[] password) |
static byte[] |
encode(KeyStore keyStore,
char[] password) |
static KeyPair |
keyPair(KeyStore store,
String alias,
char[] password) |
static KeyStore |
keyStore(KeyPairCredential credential,
Certificate... certificates) |
static KeyStore |
keyStore(String alias,
char[] aliasPassword,
KeyPair pair,
Certificate... certificates) |
static KeyStore |
keyStore(String type,
String alias,
char[] aliasPassword,
KeyPair pair,
Certificate... certificates) |
public static KeyStore keyStore(KeyPairCredential credential, Certificate... certificates)
public static KeyStore keyStore(String alias, char[] aliasPassword, KeyPair pair, Certificate... certificates)
alias - key aliasaliasPassword - passwordpair - the key pair to usecertificates - UncheckedSecurityException - if KeyStoreException,
NoSuchAlgorithmException or CertificateException is raisedUncheckedIOException - if java.io.IOException is raisedpublic static KeyStore keyStore(String type, String alias, char[] aliasPassword, KeyPair pair, Certificate... certificates)
type - alias - key aliasaliasPassword - passwordpair - the key pair to usecertificates - UncheckedSecurityException - if KeyStoreException,
NoSuchAlgorithmException or CertificateException is raisedUncheckedIOException - if java.io.IOException is raisedpublic static byte[] encode(KeyStore keyStore, char[] password)
keyStore - password - UncheckedSecurityException - if KeyStoreException,
NoSuchAlgorithmException or CertificateException is raisedUncheckedIOException - if java.io.IOException is raisedpublic static KeyStore decode(byte[] dehydrated, char[] password)
dehydrated - password - UncheckedSecurityException - if KeyStoreException,
NoSuchAlgorithmException or CertificateException is raisedUncheckedIOException - if java.io.IOException is raisedpublic static KeyStore decode(String type, byte[] dehydrated, char[] password)
type - dehydrated - password - UncheckedSecurityException - if KeyStoreException,
NoSuchAlgorithmException or CertificateException is raisedUncheckedIOException - if java.io.IOException is raisedCopyright © 2017–2018 earcam. All rights reserved.