Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.security
Class PublicCertCredential

java.lang.Object
  extended by weblogic.security.PublicCertCredential

public final class PublicCertCredential
extends Object

This class acts as a holder for a single public certificate.


Constructor Summary
PublicCertCredential(Certificate certificate)
          Creates a PublicCertCredential object from the specified public certificate.
 
Method Summary
 void dispose()
          Frees all resources associated with this instance of the public certificate credential.
protected  void finalize()
          Disposes of this certificate.
 Certificate getCertificate()
          The public certificate.
 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

PublicCertCredential

public PublicCertCredential(Certificate certificate)
Creates a PublicCertCredential object from the specified public certificate.

Parameters:
certificate - The public certificate
Method Detail

getCertificate

public Certificate getCertificate()
The public certificate. Returns null if this instance has been disposed via the dispose() method.

Returns:
The public certificate
See Also:
PublicCertCredential.dispose()

dispose

public void dispose()
Frees all resources associated with this instance of the public certificate credential.


isDisposed

public boolean isDisposed()
Specifies whether this instance is disposed.

Returns:
true if the credential is already disposed
See Also:
PublicCertCredential.dispose()

finalize

protected void finalize()
Disposes of this certificate.

Overrides:
finalize in class Object
See Also:
PublicCertCredential.dispose()

toString

public String toString()
A string representation of this object.

Overrides:
toString in class Object
Returns:
A string representation of the credential

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04