Oracle

weblogic.security.pk
Class X509ThumbprintSelector

java.lang.Object
  extended by weblogic.security.pk.X509ThumbprintSelector
All Implemented Interfaces:
CertPathSelector

public class X509ThumbprintSelector
extends Object
implements CertPathSelector

This class holds the thumbprint of an X.509 end certificate that serves as the selection criteria for locating and validating a certificate chain.

An application caller instantiates this class and passes the instance to the Certpath Builder service for building and validating a certificate chain.

See Also:
CertPathBuilderParameters, com.bea.common.security.service.CertPathBuilderService

Constructor Summary
X509ThumbprintSelector(String thumbprint)
          Constructs a selector using the thumbprint of an X.509 end certificate in base64 encoded string.
 
Method Summary
 String getX509Thumbprint()
          Gets the thumbprint of an X.509 end certificate that serves as the selection criteria for locating and validating a certificate chain.
 String toString()
          Returns a string representation of the object of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X509ThumbprintSelector

public X509ThumbprintSelector(String thumbprint)
Constructs a selector using the thumbprint of an X.509 end certificate in base64 encoded string.

Parameters:
thumbprint - the thumbprint of an X.509 end certificate in base64 encoded string
Throws:
IllegalArgumentException - if the input thumbprint is null or empty
Method Detail

getX509Thumbprint

public String getX509Thumbprint()
Gets the thumbprint of an X.509 end certificate that serves as the selection criteria for locating and validating a certificate chain.

Returns:
the thumbprint of an X.509 end certificate in base64 encoded string

toString

public String toString()
Returns a string representation of the object of this class.

Overrides:
toString in class Object

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle