org.apache.ws.security.message.token
Class PKIPathSecurity
java.lang.Object
org.apache.ws.security.message.token.BinarySecurity
org.apache.ws.security.message.token.PKIPathSecurity
public class PKIPathSecurity
- extends BinarySecurity
PKIPath Security Token.
- Author:
- Davanum Srinivas (dims@yahoo.com).
Methods inherited from class org.apache.ws.security.message.token.BinarySecurity |
getElement, getEncodingType, getFirstNode, getID, getToken, getValueType, setEncodingType, setID, setToken, setValueType, toString |
PKIPathSecurity
public PKIPathSecurity(org.w3c.dom.Element elem)
throws WSSecurityException
- Constructor.
- Throws:
WSSecurityException
PKIPathSecurity
public PKIPathSecurity(org.w3c.dom.Document doc)
- Constructor.
getX509Certificates
public X509Certificate[] getX509Certificates(boolean reverse,
Crypto crypto)
throws WSSecurityException
- get the X509Certificate array.
- Parameters:
reverse
- crypto
-
- Returns:
- array of certificates
- Throws:
WSSecurityException
setX509Certificates
public void setX509Certificates(X509Certificate[] certs,
boolean reverse,
Crypto crypto)
throws WSSecurityException
- set the X509Certificate array.
- Parameters:
certs
- reverse
- crypto
-
- Throws:
WSSecurityException
getType
public static String getType()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.