org.apache.wss4j.dom.message.token
Class PKIPathSecurity
java.lang.Object
org.apache.wss4j.dom.message.token.BinarySecurity
org.apache.wss4j.dom.message.token.PKIPathSecurity
public class PKIPathSecurity
- extends BinarySecurity
PKIPath Security Token.
| Methods inherited from class org.apache.wss4j.dom.message.token.BinarySecurity |
addWSSENamespace, addWSUNamespace, equals, getElement, getEncodingType, getFirstNode, getID, getToken, getValueType, hashCode, setEncodingType, setID, setToken, setValueType, toString |
PKI_TYPE
public static final String PKI_TYPE
- See Also:
- Constant Field Values
PKIPathSecurity
public PKIPathSecurity(Element elem,
BSPEnforcer bspEnforcer)
throws WSSecurityException
- Constructor.
- Parameters:
elem - The PKIPath element to processbspEnforcer - a BSPEnforcer instance to enforce BSP rules
- Throws:
WSSecurityException
PKIPathSecurity
public PKIPathSecurity(Document doc)
- Constructor.
getX509Certificates
public X509Certificate[] getX509Certificates(Crypto crypto)
throws WSSecurityException
- get the X509Certificate array.
- Parameters:
crypto -
- Returns:
- array of certificates
- Throws:
WSSecurityException
setX509Certificates
public void setX509Certificates(X509Certificate[] certs,
Crypto crypto)
throws WSSecurityException
- set the X509Certificate array.
- Parameters:
certs - crypto -
- Throws:
WSSecurityException
getType
public static String getType()
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.