public final class X509Util extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getEncAlgo(Node encBodyData) |
static KeyValue |
getKeyValue(Element keyInfoElement,
XMLSignatureFactory signatureFactory)
Get the KeyValue object from the KeyInfo DOM element if it exists
|
static byte[] |
getSecretKey(Element keyInfoElem,
String algorithm,
CallbackHandler cb,
byte[] encryptedKey) |
static boolean |
isContent(Node encBodyData) |
static PublicKey |
parseKeyValue(Element keyInfoElement,
XMLSignatureFactory signatureFactory) |
public static boolean isContent(Node encBodyData)
public static String getEncAlgo(Node encBodyData) throws WSSecurityException
WSSecurityException
public static byte[] getSecretKey(Element keyInfoElem, String algorithm, CallbackHandler cb, byte[] encryptedKey) throws WSSecurityException
WSSecurityException
public static PublicKey parseKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory) throws WSSecurityException
WSSecurityException
public static KeyValue getKeyValue(Element keyInfoElement, XMLSignatureFactory signatureFactory) throws MarshalException
MarshalException
Copyright © 2017 JBoss by Red Hat. All rights reserved.