public class VerifyXMLSignatureResponseValidator extends Object
VerifyXMLSignatureResponse
returned by MOA-SPSS| Modifier and Type | Field | Description |
|---|---|---|
static String |
CHECK_AUTH_BLOCK |
Identification string for checking authentication block
|
static String |
CHECK_IDENTITY_LINK |
Identification string for checking identity link
|
| Constructor | Description |
|---|---|
VerifyXMLSignatureResponseValidator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkIDLAgainstSignatureCertificate(PublicKey[] pubKeysIdentityLink,
PublicKey pubKeySignature) |
|
static VerifyXMLSignatureResponseValidator |
getInstance() |
Constructor for a singleton VerifyXMLSignatureResponseValidator.
|
void |
validate(at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse verifyXMLSignatureResponse,
List<String> identityLinkSignersSubjectDNNames,
String whatToCheck,
at.gv.egovernment.moa.id.commons.api.IOAAuthParameters oaParam,
at.gv.egovernment.moa.id.commons.api.AuthConfiguration authConfig) |
Validates a
VerifyXMLSignatureResponse returned by MOA-SPSS. |
void |
validateCertificate(at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse verifyXMLSignatureResponse,
at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink idl) |
Method validateCertificate.
|
public static final String CHECK_IDENTITY_LINK
public static final String CHECK_AUTH_BLOCK
public VerifyXMLSignatureResponseValidator()
public static VerifyXMLSignatureResponseValidator getInstance() throws ValidateException
ValidateExceptionpublic void validate(at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse verifyXMLSignatureResponse,
List<String> identityLinkSignersSubjectDNNames,
String whatToCheck,
at.gv.egovernment.moa.id.commons.api.IOAAuthParameters oaParam,
at.gv.egovernment.moa.id.commons.api.AuthConfiguration authConfig)
throws ValidateException,
at.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationException
VerifyXMLSignatureResponse returned by MOA-SPSS.verifyXMLSignatureResponse - the <VerifyXMLSignatureResponse>identityLinkSignersSubjectDNNames - subject names configuredwhatToCheck - is used to identify whether the identityLink or the Auth-Block is validatedoaParam - specifies whether the validation result of the
manifest has to be ignored (identityLink validation if
the OA is a business service) or notValidateException - on any validation errorat.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationExceptionpublic void validateCertificate(at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse verifyXMLSignatureResponse,
at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink idl)
throws ValidateException
verifyXMLSignatureResponse - The VerifyXMLSignatureResponseidl - The IdentitylinkValidateExceptionpublic void checkIDLAgainstSignatureCertificate(PublicKey[] pubKeysIdentityLink, PublicKey pubKeySignature) throws ValidateException
ValidateExceptionCopyright © 2019. All rights reserved.