Class X509Util

java.lang.Object
org.apache.wss4j.dom.util.X509Util

public final class X509Util extends Object
  • Method Details

    • isContent

      public static boolean isContent(Node encBodyData)
    • getEncAlgo

      public static String getEncAlgo(Node encBodyData) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • getSecretKey

      public static byte[] getSecretKey(Element keyInfoElem, String algorithm, CallbackHandler cb) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • parseKeyValue

      public static PublicKey parseKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.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