Class PKIPathSecurity
java.lang.Object
org.apache.ws.security.message.token.BinarySecurity
org.apache.ws.security.message.token.PKIPathSecurity
PKIPath Security Token.
- Author:
- Davanum Srinivas (dims@yahoo.com).
-
Field Summary
Fields inherited from class BinarySecurity
BASE64_ENCODING, element, TOKEN_BST, TOKEN_KI -
Constructor Summary
ConstructorsConstructorDescriptionPKIPathSecurity(Document doc) Constructor.PKIPathSecurity(Element elem) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetType()getX509Certificates(boolean reverse, Crypto crypto) get the X509Certificate array.voidsetX509Certificates(X509Certificate[] certs, boolean reverse, Crypto crypto) set the X509Certificate array.Methods inherited from class BinarySecurity
getElement, getEncodingType, getFirstNode, getID, getToken, getValueType, setEncodingType, setID, setToken, setValueType, toString
-
Constructor Details
-
PKIPathSecurity
Constructor.- Throws:
WSSecurityException
-
PKIPathSecurity
Constructor.
-
-
Method Details
-
getX509Certificates
public X509Certificate[] getX509Certificates(boolean reverse, Crypto crypto) throws WSSecurityException get the X509Certificate array.- Parameters:
reverse-crypto-- Returns:
- array of certifcates
- 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
-