public class VerifyXMLSignatureRequestBuilder extends Object
<VerifyXMLSignatureRequestBuilder>
structure
used for sending the DSIG-Signature of the Security Layer card for validating to MOA-SP.Constructor | Description |
---|---|
VerifyXMLSignatureRequestBuilder() |
Builds the body for a
VerifyXMLsignatureRequest including the root
element and namespace declarations. |
Modifier and Type | Method | Description |
---|---|---|
Element |
build(byte[] mandate,
String trustProfileID) |
Builds a
<VerifyXMLSignatureRequest>
from an IdentityLink with a known trustProfileID which
has to exist in MOA-SP |
Element |
build(at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink identityLink,
String trustProfileID) |
Builds a
<VerifyXMLSignatureRequest>
from an IdentityLink with a known trustProfileID which
has to exist in MOA-SP |
Element |
build(CreateXMLSignatureResponse csr,
List<String> verifyTransformsInfoProfileID,
String trustProfileID) |
Builds a
<VerifyXMLSignatureRequest>
from the signed AUTH-Block with a known trustProfileID which
has to exist in MOA-SP |
Element |
buildDsig(CreateXMLSignatureResponse csr,
String trustProfileID) |
Builds a
<VerifyXMLSignatureRequest>
from the signed data with a known trustProfileID which
has to exist in MOA-SP |
public VerifyXMLSignatureRequestBuilder() throws BuildException
VerifyXMLsignatureRequest
including the root
element and namespace declarations.BuildException
- If an error occurs on building the document.public Element build(at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink identityLink, String trustProfileID) throws ParseException
<VerifyXMLSignatureRequest>
from an IdentityLink with a known trustProfileID which
has to exist in MOA-SPidentityLink
- - The IdentityLinktrustProfileID
- - a preconfigured TrustProfile at MOA-SPParseException
public Element build(byte[] mandate, String trustProfileID) throws ParseException
<VerifyXMLSignatureRequest>
from an IdentityLink with a known trustProfileID which
has to exist in MOA-SPidentityLink
- - The IdentityLinktrustProfileID
- - a preconfigured TrustProfile at MOA-SPParseException
public Element build(CreateXMLSignatureResponse csr, List<String> verifyTransformsInfoProfileID, String trustProfileID) throws BuildException
<VerifyXMLSignatureRequest>
from the signed AUTH-Block with a known trustProfileID which
has to exist in MOA-SPcsr
- - signed AUTH-BlockverifyTransformsInfoProfileID
- - allowed verifyTransformsInfoProfileIDtrustProfileID
- - a preconfigured TrustProfile at MOA-SPParseException
BuildException
public Element buildDsig(CreateXMLSignatureResponse csr, String trustProfileID) throws BuildException
<VerifyXMLSignatureRequest>
from the signed data with a known trustProfileID which
has to exist in MOA-SPcsr
- - signed AUTH-BlocktrustProfileID
- - a preconfigured TrustProfile at MOA-SPParseException
BuildException
Copyright © 2019. All rights reserved.