Class X509Util


  • public final class X509Util
    extends Object
    • Method Detail

      • 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