]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - Keyring.java
f38d2051ccde05736e31dbdef84826b70eb3d89d
1 package org
.argeo
.util
.crypto
;
3 import java
.io
.InputStream
;
6 * Access to private (typically encrypted) data. The keyring is responsible for
7 * retrieving the necessary credentials.
9 public interface Keyring
{
10 public void changePassword(char[] oldPassword
, char[] newPassword
);
12 public char[] getAsChars(String path
);
14 public InputStream
getAsStream(String path
);
16 public void set(String path
, char[] arr
);
18 public void set(String path
, InputStream in
);