public final class KeyPairCredential extends Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
Frees all resources associated with this instance of the
 credential. 
 | 
protected void | 
finalize()
Disposes of this credential. 
 | 
Certificate | 
getCertificate()
The first element of the certificate chain. 
 | 
Certificate[] | 
getCertificateChain()
The certificate chain. 
 | 
Key | 
getKey()
The key. 
 | 
boolean | 
isDisposed()
Specifies whether this instance is disposed. 
 | 
String | 
toString()
A string representation of this object. 
 | 
public Certificate getCertificate()
KeyPairCredential.dispose()public Certificate[] getCertificateChain()
KeyPairCredential.dispose()public Key getKey()
KeyPairCredential.dispose()public void dispose()
public boolean isDisposed()
true if the credential is already disposedKeyPairCredential.dispose()public String toString()
protected void finalize()
finalize in class ObjectKeyPairCredential.dispose()