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