Package org.apache.wss4j.dom.util
Class X509Util
java.lang.Object
org.apache.wss4j.dom.util.X509Util
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetEncAlgo(Node encBodyData) static KeyValuegetKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory) Get the KeyValue object from the KeyInfo DOM element if it existsstatic byte[]getSecretKey(Element keyInfoElem, String algorithm, CallbackHandler cb) static booleanstatic PublicKeyparseKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory)
-
Method Details
-
isContent
-
getEncAlgo
- Throws:
WSSecurityException
-
getSecretKey
public static byte[] getSecretKey(Element keyInfoElem, String algorithm, CallbackHandler cb) throws WSSecurityException - Throws:
WSSecurityException
-
parseKeyValue
public static PublicKey parseKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory) throws WSSecurityException - Throws:
WSSecurityException
-
getKeyValue
public static KeyValue getKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory) throws MarshalException Get the KeyValue object from the KeyInfo DOM element if it exists- Throws:
MarshalException
-