| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: format as specified aboveThe preferred format - usually the one from the configuration. When present, it should be preferred over anything else preferredType, String Path of the file. We can try to detect keystore type from that (EG. my-keystore.pkcs12 will return "pkcs12") in case that preferredType is not defined path, String Default format as last fallback when none of the above can be used. Should be non-null defaultType)Try to return supported keystore type |
| public static KeyPair | loadKeyPairFromKeystore(String keystoreFile, String storePassword, String keyPassword, String keyAlias, KeystoreUtil.
|
| public static KeyStore | |
| public static KeyStore |
| KeystoreUtil | back to summary |
|---|---|
| public KeystoreUtil() | |
| getKeystoreType | back to summary |
|---|---|
| public static String getKeystoreType(String preferredType, String path, String defaultType) Try to return supported keystore type
| |
| loadKeyPairFromKeystore | back to summary |
|---|---|
| public static KeyPair loadKeyPairFromKeystore(String keystoreFile, String storePassword, String keyPassword, String keyAlias, KeystoreUtil. | |
| loadKeyStore | back to summary |
|---|---|
| public static KeyStore loadKeyStore(String filename, String password) throws Exception | |
| loadKeyStore | back to summary |
|---|---|
| public static KeyStore loadKeyStore(String filename, String password, String preferedType) throws Exception | |
| Modifier and Type | Field and Description |
|---|---|
| public static final KeystoreUtil. | |
| private final List | |
| public static final KeystoreUtil. | |
| public static final KeystoreUtil. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public String | |
| public static KeystoreUtil. | |
| public static KeystoreUtil. |
| BCFKS | back to summary |
|---|---|
| public static final KeystoreUtil. | |
| fileExtensions | back to summary |
|---|---|
| private final List<String> fileExtensions | |
| JKS | back to summary |
|---|---|
| public static final KeystoreUtil. | |
| PKCS12 | back to summary |
|---|---|
| public static final KeystoreUtil. | |
| KeystoreFormat | back to summary |
|---|---|
| private KeystoreFormat(String... extensions) | |
| getFileExtensions | back to summary |
|---|---|
| public List | |
| getPrimaryExtension | back to summary |
|---|---|
| public String getPrimaryExtension() | |
| valueOf | back to summary |
|---|---|
| public static KeystoreUtil. | |
| values | back to summary |
|---|---|
| public static KeystoreUtil. | |