|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.cert.KeyStoreReader
public class KeyStoreReader
Reader for the first entry in a key store.
Constructor Summary | |
---|---|
KeyStoreReader(InputStream keyStoreIn,
char[] password)
Creates a KeyStoreReader that reads the first key in a key store, protected by a
password. |
Method Summary | |
---|---|
PrivateKey |
getFirstPrivateKey()
Returns the first PrivateKey in this key store. |
X509Certificate |
getFirstX509Certificate()
Returns the first X509Certificate in this key store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyStoreReader(InputStream keyStoreIn, char[] password) throws KeyStoreReaderException
KeyStoreReader
that reads the first key in a key store, protected by a
password. The key store and the first entry must be both protected by the same password.
keyStoreIn
- a InputStream
.password
- the password.
KeyStoreReaderException
- if there is a problem reading the key store, if required,
the detail exception can be found as the cause of the reader exception.Method Detail |
---|
public PrivateKey getFirstPrivateKey()
PrivateKey
in this key store.
PrivateKey
in this key store.public X509Certificate getFirstX509Certificate()
X509Certificate
in this key store.
X509Certificate
in this key store.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG