|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--iaik.security.ssl.KeyAndCert
This class stores a key and the corresponding certificate chain. It is used throughout the library whenever credentials are needed. The certificate chain must contain the end entity certificate at index 0.
| Constructor Summary | |
KeyAndCert(X509Certificate[] chain,
PrivateKey privateKey)
Create a new KeyAndCert object. |
|
| Method Summary | |
java.lang.Object |
clone()
Get a clone of this object. |
boolean |
equals(java.lang.Object obj)
Test two objects for equality. |
X509Certificate[] |
getCertificateChain()
Get the certificate chain. |
int |
getCertificateType()
Get the certificate type. |
PrivateKey |
getPrivateKey()
Get the private key. |
java.lang.String |
toString()
Return a string representation of this object. |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public KeyAndCert(X509Certificate[] chain,
PrivateKey privateKey)
| Method Detail |
public final PrivateKey getPrivateKey()
public final X509Certificate[] getCertificateChain()
public final int getCertificateType()
SSLContext.CERTTYPE_RSA_SIGNpublic boolean equals(java.lang.Object obj)
public java.lang.Object clone()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||