public class XmlDigitalSigner extends Object
| Constructor and Description |
|---|
XmlDigitalSigner() |
| Modifier and Type | Method and Description |
|---|---|
static String |
signXML(String samlResponse,
PublicKey publicKey,
PrivateKey privateKey)
Signs the specified xmlString with the pair of provided keys, as per the
SAML 2.0 specifications.
|
public static String signXML(String samlResponse, PublicKey publicKey, PrivateKey privateKey) throws SAMLException
samlResponse - SAML Response XML file to be signedpublicKey - public key to read the signed XMLprivateKey - private key to sign the XMLSAMLExceptionCopyright © 2021 Atlassian. All rights reserved.