|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.security.jaas.PrivateKeyCertsCredential
Contains asymetric cyptographic material in a form of private key and certificate. When this credential is not further needed, user SHOULD clean it.
Constructor Summary | |
PrivateKeyCertsCredential(java.security.PrivateKey key,
java.security.cert.X509Certificate[] certs)
Constructor sets private key and X509 certificate (chain) to the given values. |
Method Summary | |
void |
clean()
Cleans all properties of this credential. |
java.security.cert.X509Certificate[] |
getCertChain()
return certificate chain. |
java.security.cert.X509Certificate |
getCertificate()
Returns user's certificate. |
java.security.PrivateKey |
getPrivateKey()
Returns private key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrivateKeyCertsCredential(java.security.PrivateKey key, java.security.cert.X509Certificate[] certs)
key
- private key of the usercerts
- certificate chain.Method Detail |
public java.security.PrivateKey getPrivateKey()
public java.security.cert.X509Certificate[] getCertChain()
public java.security.cert.X509Certificate getCertificate()
public void clean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |