]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.api/src/org/argeo/api/security/Keyring.java
1 package org
.argeo
.api
.security
;
3 import java
.io
.InputStream
;
6 * Access to private (typically encrypted) data. The keyring is responsible for
7 * retrieving the necessary credentials. <b>Experimental. This API may
10 public interface Keyring
{
12 * Returns the confidential information as chars. Must ask for it if it is
15 public char[] getAsChars(String path
);
18 * Returns the confidential information as a stream. Must ask for it if it
21 public InputStream
getAsStream(String path
);
23 public void set(String path
, char[] arr
);
25 public void set(String path
, InputStream in
);