Interface PrivateKeyEncryptedStorage

All Known Implementing Classes:
PrivateKeyEncryptedFileStorage

public interface PrivateKeyEncryptedStorage
  • 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