|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.security.KeyPairCredential
public final class KeyPairCredential
This class acts as a holder for cryptographic key information. Typically the keypair information is a private key accompanied by the certificate chain for the corresponding public key.
Constructor Summary | |
---|---|
KeyPairCredential(Key key,
Certificate[] certificate)
Creates a KeyPairCredential object from the specified key and its corresponding public certificate. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyPairCredential(Key key, Certificate[] certificate)
key
- The cryptographic key informationcertificate[]
- The certificate chainMethod Detail |
---|
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()
toString
in class Object
protected void finalize()
finalize
in class Object
KeyPairCredential.dispose()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |