Class KeystoreUtils
java.lang.Object
org.graylog.security.certutil.keystore.storage.KeystoreUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmatchingKeys(PrivateKey privateKey, PublicKey publicKey) static KeyStorenewStoreCopyContent(KeyStore originalKeyStore, char[] currentPassword, char[] newPassword)
-
Constructor Details
-
KeystoreUtils
public KeystoreUtils()
-
-
Method Details
-
newStoreCopyContent
public static KeyStore newStoreCopyContent(KeyStore originalKeyStore, char[] currentPassword, char[] newPassword) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-
matchingKeys
public static boolean matchingKeys(PrivateKey privateKey, PublicKey publicKey) throws GeneralSecurityException - Throws:
GeneralSecurityException
-