# Uses of Class
org.opensaml.saml.common.assertion.AssertionValidationException

Packages that use AssertionValidationException
Package
Description
org.opensaml.saml.saml2.assertion
Interfaces and API classes for validating SAML 2 Assertions.
org.opensaml.saml.saml2.assertion.impl
Implementation classes for validating SAML 2 Assertions.
org.opensaml.saml.saml2.profile.impl
Implementations of SAML 2.0 profile behavior.

## Uses of AssertionValidationException in org.opensaml.saml.saml2.assertion

Methods in org.opensaml.saml.saml2.assertion that throw AssertionValidationException
Modifier and Type
Method
Description
`protected ValidationResult`
SAML20AssertionValidator.`performSignatureValidation(Assertion token, ValidationContext context)`
Handle the actual signature validation.
`ValidationResult`
AssertionValidator.`validate(Assertion assertion, ValidationContext context)`
Validates the given assertion.
`ValidationResult`
ConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
SAML20AssertionValidator.`validate(Assertion assertion, ValidationContext context)`
Validate the supplied SAML 2 `Assertion`, using the parameters from the supplied `ValidationContext`.
`ValidationResult`
StatementValidator.`validate(Statement statement, Assertion assertion, ValidationContext context)`
Validates the given statement.
`ValidationResult`
SubjectConfirmationValidator.`validate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Confirms the `Subject` by means of the given `SubjectConfirmation`.
`protected ValidationResult`
SAML20AssertionValidator.`validateBasicData(Assertion assertion, ValidationContext context)`
Validate basic Assertion data, such as version, issuer and issue instant.
`protected ValidationResult`
SAML20AssertionValidator.`validateConditions(Assertion assertion, ValidationContext context)`
Validates the conditions on the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateConditionsTimeBounds(Assertion assertion, ValidationContext context)`
Validates the NotBefore and NotOnOrAfter Conditions constraints on the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateIssueInstant(Assertion assertion, ValidationContext context)`
Validates the Assertion IssueInstant.
`protected ValidationResult`
SAML20AssertionValidator.`validateIssuer(Assertion assertion, ValidationContext context)`
Validates the Assertion `Issuer`.
`protected ValidationResult`
SAML20AssertionValidator.`validateSignature(Assertion token, ValidationContext context)`
Validates the signature of the assertion, if it is signed.
`protected ValidationResult`
SAML20AssertionValidator.`validateStatements(Assertion assertion, ValidationContext context)`
Validates the statements within the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateSubjectConfirmation(Assertion assertion, ValidationContext context)`
Validates the subject confirmations of the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateVersion(Assertion assertion, ValidationContext context)`
Validates that the assertion is a `SAMLVersion.VERSION_20` assertion.

## Uses of AssertionValidationException in org.opensaml.saml.saml2.assertion.impl

Methods in org.opensaml.saml.saml2.assertion.impl that throw AssertionValidationException
Modifier and Type
Method
Description
`protected abstract ValidationResult`
AbstractSubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected ValidationResult`
BearerSubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected ValidationResult`
HolderOfKeySubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected ValidationResult`
SenderVouchersSubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected String`
OneTimeUseConditionValidator.`getCacheValue(Assertion assertion)`
Get the string value which will be tracked in the cache for purposes of one-time use detection.
`protected Pair<PublicKey,X509Certificate>`
HolderOfKeySubjectConfirmationValidator.`getKeyAndCertificate(ValidationContext context)`
Extracts the presenter's key and/or certificate from the validation context.
`protected List<KeyInfo>`
HolderOfKeySubjectConfirmationValidator.`getSubjectConfirmationKeyInformation(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context)`
Extracts the `KeyInfo`s from the given subject confirmation data.
`protected boolean`
HolderOfKeySubjectConfirmationValidator.`isValidConfirmationDataType(SubjectConfirmationData confirmationData)`
Checks to see whether the schema type of the subject confirmation data, if present, is the required `KeyInfoConfirmationDataType.TYPE_NAME`.
`protected boolean`
HolderOfKeySubjectConfirmationValidator.`matchesKeyValue(PublicKey key, KeyInfo keyInfo)`
Checks whether the supplied public key matches one of the keys in the given KeyInfo.
`protected boolean`
HolderOfKeySubjectConfirmationValidator.`matchesX509Certificate(X509Certificate cert, KeyInfo keyInfo)`
Checks whether the presenter's certificate matches a certificate described by the X509Data within the KeyInfo.
`ValidationResult`
AbstractSubjectConfirmationValidator.`validate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Confirms the `Subject` by means of the given `SubjectConfirmation`.
`ValidationResult`
AudienceRestrictionConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
AuthnStatementValidator.`validate(Statement statement, Assertion assertion, ValidationContext context)`
Validates the given statement.
`ValidationResult`
DelegationRestrictionConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
OneTimeUseConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
ProxyRestrictionConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateAddress(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `Address` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AuthnStatementValidator.`validateAuthnContext(AuthnStatement authnStatement, Assertion assertion, ValidationContext context)`
Validate the `AuthnContext`.
`protected ValidationResult`
AuthnStatementValidator.`validateAuthnInstant(AuthnStatement authnStatement, Assertion assertion, ValidationContext context)`
Validate the authnInstant attribute of the `AuthnStatement`.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateInResponseTo(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `InResponseTo` value of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateNotBefore(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `NotBefore` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateNotOnOrAfter(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `NotOnOrAfter` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateRecipient(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `Recipient` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AuthnStatementValidator.`validateSubjectLocality(AuthnStatement authnStatement, Assertion assertion, ValidationContext context)`
Validate the `SubjectLocality`.

## Uses of AssertionValidationException in org.opensaml.saml.saml2.profile.impl

Methods in org.opensaml.saml.saml2.profile.impl that throw AssertionValidationException
Modifier and Type
Method
Description
`protected ValidationContext`
ValidateAssertions.`buildValidationContext(ProfileRequestContext profileContext, Assertion assertion)`
Build the Assertion ValidationContext.