org.apache.ws.security.message.token
Class PKIPathSecurity

java.lang.Object
  extended byorg.apache.ws.security.message.token.BinarySecurity
      extended byorg.apache.ws.security.message.token.PKIPathSecurity

public class PKIPathSecurity
extends BinarySecurity

PKIPath Security Token.

Author:
Davanum Srinivas (dims@yahoo.com).

Field Summary
static java.lang.String X509PKI_PATH
           
 
Fields inherited from class org.apache.ws.security.message.token.BinarySecurity
BASE64_BINARY, element, TOKEN, wssConfig
 
Constructor Summary
PKIPathSecurity(WSSConfig wssConfig, org.w3c.dom.Document doc)
          Constructor.
PKIPathSecurity(WSSConfig wssConfig, org.w3c.dom.Element elem)
          Constructor.
 
Method Summary
static java.lang.String getType(WSSConfig wssConfig)
           
 java.security.cert.X509Certificate[] getX509Certificates(boolean reverse, Crypto crypto)
          get the X509Certificate array.
 void setX509Certificates(java.security.cert.X509Certificate[] certs, boolean reverse, Crypto crypto)
          set the X509Certificate array.
 
Methods inherited from class org.apache.ws.security.message.token.BinarySecurity
getBase64EncodingValue, getElement, getEncodingType, getFirstNode, getID, getToken, getValueType, setEncodingType, setID, setToken, setValueType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

X509PKI_PATH

public static final java.lang.String X509PKI_PATH
See Also:
Constant Field Values
Constructor Detail

PKIPathSecurity

public PKIPathSecurity(WSSConfig wssConfig,
                       org.w3c.dom.Element elem)
                throws WSSecurityException
Constructor.

Throws:
WSSecurityException

PKIPathSecurity

public PKIPathSecurity(WSSConfig wssConfig,
                       org.w3c.dom.Document doc)
Constructor.

Method Detail

getX509Certificates

public java.security.cert.X509Certificate[] getX509Certificates(boolean reverse,
                                                                Crypto crypto)
                                                         throws WSSecurityException
get the X509Certificate array.

Parameters:
reverse -
crypto -
Returns:
Throws:
WSSecurityException

setX509Certificates

public void setX509Certificates(java.security.cert.X509Certificate[] certs,
                                boolean reverse,
                                Crypto crypto)
                         throws WSSecurityException
set the X509Certificate array.

Parameters:
certs -
reverse -
crypto -
Throws:
WSSecurityException

getType

public static java.lang.String getType(WSSConfig wssConfig)