Package com.adobe.aio.ims.util
Class KeyStoreUtil
- java.lang.Object
-
- com.adobe.aio.ims.util.KeyStoreUtil
-
public class KeyStoreUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrivateKey
getPrivateKeyFromEncodedPkcs8(String base64EncodedPkcs8)
static PrivateKey
getPrivateKeyFromPkcs12File(String filePath, String alias, String password)
static PrivateKey
getPrivateKeyFromPkcs8File(String filePath)
-
-
-
Method Detail
-
getPrivateKeyFromPkcs12File
public static PrivateKey getPrivateKeyFromPkcs12File(String filePath, String alias, String password) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException, UnrecoverableKeyException
-
getPrivateKeyFromEncodedPkcs8
public static PrivateKey getPrivateKeyFromEncodedPkcs8(String base64EncodedPkcs8) throws InvalidKeySpecException, NoSuchAlgorithmException
-
getPrivateKeyFromPkcs8File
public static PrivateKey getPrivateKeyFromPkcs8File(String filePath) throws IOException, InvalidKeySpecException, NoSuchAlgorithmException
-
-