public static void verifySignedElement(Element elem, WSDocInfo wsDocInfo) throws WSSecurityException { verifySignedElement(elem, wsDocInfo.getResultsByTag(WSConstants.SIGN)); }
List<WSSecurityEngineResult> foundResults = wsDocInfo.getResultsByTag(WSConstants.TS); Timestamp timeStamp = null; if (foundResults.isEmpty()) {
if (encryptedDataElement != null && data.isRequireSignedEncryptedDataElements()) { List<WSSecurityEngineResult> signedResults = docInfo.getResultsByTag(WSConstants.SIGN); SignatureUtils.verifySignedElement(encryptedDataElement, signedResults);
byte[] keyBytes = secRef.getSKIBytes(); List<WSSecurityEngineResult> resultsList = data.getWsDocInfo().getResultsByTag(WSConstants.BST); for (WSSecurityEngineResult bstResult : resultsList) { BinarySecurity bstToken = byte[] skiBytes = secRef.getSKIBytes(); List<WSSecurityEngineResult> resultsList = data.getWsDocInfo().getResultsByTag(WSConstants.BST); for (WSSecurityEngineResult bstResult : resultsList) { X509Certificate[] certs = String kiValue = secRef.getKeyIdentifierValue(); List<WSSecurityEngineResult> resultsList = data.getWsDocInfo().getResultsByTag(WSConstants.BST); for (WSSecurityEngineResult bstResult : resultsList) { X509Certificate[] certs =
data.getWsDocInfo().getResultsByTag(WSConstants.SIGN); SignatureUtils.verifySignedElement(elem, signedResults);
byte[] keyBytes = secRef.getSKIBytes(); List<WSSecurityEngineResult> resultsList = wsDocInfo.getResultsByTag(WSConstants.BST); for (WSSecurityEngineResult bstResult : resultsList) { BinarySecurity bstToken =
byte[] keyBytes = secRef.getSKIBytes(); List<WSSecurityEngineResult> resultsList = data.getWsDocInfo().getResultsByTag(WSConstants.BST); for (WSSecurityEngineResult bstResult : resultsList) { BinarySecurity bstToken =
data.getWsDocInfo().getResultsByTag(WSConstants.SIGN); SignatureUtils.verifySignedElement(encryptedDataElement, signedResults);