Package org.apache.wss4j.common.token
Class PKIPathSecurity
java.lang.Object
org.apache.wss4j.common.token.BinarySecurity
org.apache.wss4j.common.token.PKIPathSecurity
PKIPath Security Token.
-
Field Summary
FieldsFields inherited from class org.apache.wss4j.common.token.BinarySecurity
TOKEN_BST, TOKEN_KI -
Constructor Summary
ConstructorsConstructorDescriptionPKIPathSecurity(Document doc) Constructor.PKIPathSecurity(Element elem, BSPEnforcer bspEnforcer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetType()getX509Certificates(Crypto crypto) get the X509Certificate array.voidsetX509Certificates(X509Certificate[] certs, Crypto crypto) set the X509Certificate array.Methods inherited from class org.apache.wss4j.common.token.BinarySecurity
addWSSENamespace, addWSUNamespace, encodeRawToken, equals, getAttachmentCallbackHandler, getElement, getEncodingType, getID, getToken, getValueType, hashCode, isStoreBytesInAttachment, setAttachmentCallbackHandler, setEncodingType, setID, setRawToken, setStoreBytesInAttachment, setToken, setValueType, toString
-
Field Details
-
PKI_TYPE
- See Also:
-
-
Constructor Details
-
PKIPathSecurity
Constructor.- Parameters:
elem- The PKIPath element to processbspEnforcer- a BSPEnforcer instance to enforce BSP rules- Throws:
WSSecurityException
-
PKIPathSecurity
Constructor.
-
-
Method Details
-
getX509Certificates
get the X509Certificate array.- Parameters:
crypto-- Returns:
- array of certificates
- Throws:
WSSecurityException
-
setX509Certificates
set the X509Certificate array.- Parameters:
certs-crypto-- Throws:
WSSecurityException
-
getType
-