Interface PrivateKeyEncryptedStorage
- All Known Implementing Classes:
PrivateKeyEncryptedFileStorage
public interface PrivateKeyEncryptedStorage
-
Method Summary
Modifier and TypeMethodDescriptionreadEncryptedKey
(char[] password) void
writeEncryptedKey
(char[] password, PrivateKey privateKey)
-
Method Details
-
writeEncryptedKey
void writeEncryptedKey(char[] password, PrivateKey privateKey) throws IOException, org.bouncycastle.operator.OperatorCreationException - Throws:
IOException
org.bouncycastle.operator.OperatorCreationException
-
readEncryptedKey
PrivateKey readEncryptedKey(char[] password) throws IOException, org.bouncycastle.operator.OperatorCreationException, org.bouncycastle.pkcs.PKCSException - Throws:
IOException
org.bouncycastle.operator.OperatorCreationException
org.bouncycastle.pkcs.PKCSException
-