@Override
    public PrivateKey get(char[] password) throws IOException {
      try {
        PKCS8EncodedKeySpec spec = createEncryptedKeySpec(myBytes, password);
        KeyFactory factory = KeyFactory.getInstance("RSA");
        return factory.generatePrivate(spec);
      }
      catch (Exception e) {
        throw new IOException("Failed to parse encrypted key", e);
      }
    }
@Override
    public PrivateKey get(char[] password)