public final class STRTransformUtil extends Object
STRTransform implementation.| Modifier and Type | Method and Description |
|---|---|
static Element |
createBSTX509(Document doc,
X509Certificate cert,
Element secRefE) |
static Element |
createBSTX509(Document doc,
X509Certificate cert,
Element secRefE,
String secRefEncType) |
static Element |
dereferenceSTR(Document doc,
SecurityTokenReference secRef,
WSDocInfo wsDocInfo)
Retrieves the element representing the referenced content of a STR.
|
public static Element dereferenceSTR(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
certpublic static Element createBSTX509(Document doc, X509Certificate cert, Element secRefE) throws WSSecurityException
WSSecurityExceptionpublic static Element createBSTX509(Document doc, X509Certificate cert, Element secRefE, String secRefEncType) throws WSSecurityException
WSSecurityExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.