fun loadKeyPairFromKeyStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, alias: String): KeyPair
Extract public and private keys from a KeyStore file assuming storage alias is know
keyStoreFilePath
- Path to load KeyStore fromstorePassword
- Password to unlock the KeyStorekeyPassword
- Password to unlock the private key entriesalias
- The name to lookup the Key and Certificate chain fromReturn
The KeyPair found in the KeyStore under the specified alias