public class STRTransformUtil extends Object
STRTransform
implementation.Modifier and Type | Method and Description |
---|---|
protected static org.w3c.dom.Element |
createBSTX509(org.w3c.dom.Document doc,
X509Certificate cert,
org.w3c.dom.Element secRefE) |
static org.w3c.dom.Element |
dereferenceSTR(org.w3c.dom.Document doc,
SecurityTokenReference secRef,
WSDocInfo wsDocInfo)
Retrieves the element representing the referenced content of a STR.
|
public static org.w3c.dom.Element dereferenceSTR(org.w3c.dom.Document doc, SecurityTokenReference secRef, WSDocInfo wsDocInfo) throws WSSecurityException
doc
or a new element is created in the
case of a key identifier or issuer serial STR. null
if
secRef
does not contain a direct reference, key identifier, or
issuer serial.WSSecurityException
- If an issuer serial or key identifier is used in the STR and
the certificate cannot be resolved from the crypto
configuration or if there is an error working with the resolved
certprotected static org.w3c.dom.Element createBSTX509(org.w3c.dom.Document doc, X509Certificate cert, org.w3c.dom.Element secRefE) throws WSSecurityException
WSSecurityException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.