gluu
|
公開メンバ関数 | |
KeystoreWrapper (String filepath, String password, String type) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException | |
void | save () throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException |
void | saveAs (String filepath, String password) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException |
List< X509CertificateShortInfoView > | listCertificatesForView () throws KeyStoreException |
List< X509CertificateShortInfo > | listCertificates () throws KeyStoreException |
void | deleteCertificate (String alias) throws KeyStoreException |
void | addCertificate (X509Certificate cert, String alias) throws KeyStoreException |
void | addKey (SecretKey key, String alias, String password) throws KeyStoreException |
静的公開変数類 | |
static final String | KEYSTORE_PKCS12 = "PKCS12" |
static final String | KEYSTORE_JKS = "JKS" |
static final String | KEYSTORE_JCEKS = "JCEKS" |
非公開変数類 | |
final String | filepath |
final String | password |
final KeyStore | keystore |
Provides utility methods for JKS KeyStores.
|
inline |
Open existing keystore or create new if don't exist.
filepath | |
password | |
type |
KeyStoreException | |
IOException | |
NoSuchAlgorithmException | |
CertificateException |
|
inline |
|
inline |
Add key.
Use JCEKS keystore type to add symmetric key.
key | |
alias | |
password |
KeyStoreException |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
static |
Oracle JDK / OpenJDK specific
|
static |
Oracle JDK / OpenJDK specific
|
static |
Every implementation of the Java platform is required to support the following standard KeyStore type: PKCS12
|
private |