| コンストラクタと説明 |
|---|
SAMLSignatureProfileValidator() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
validate(Signature signature)
Checks to see if a XMLObject is valid.
|
protected void |
validateObjectChildren(org.apache.xml.security.signature.XMLSignature apacheSig)
Validate that the Signature instance does not contain any ds:Object children.
|
protected org.apache.xml.security.signature.Reference |
validateReference(org.apache.xml.security.signature.XMLSignature apacheSig)
Validate the Signature's SignedInfo Reference.
|
protected void |
validateReferenceURI(String uri,
SignableSAMLObject signableObject)
Validate the Signature's Reference URI.
|
protected void |
validateReferenceURI(String uri,
String id)
Validate the Reference URI and parent ID attribute values.
|
protected void |
validateSignatureImpl(SignatureImpl sigImpl)
Validate an instance of
SignatureImpl, which is in turn based on underlying Apache XML Security
XMLSignature instance. |
protected void |
validateTransforms(org.apache.xml.security.signature.Reference reference)
Validate the transforms included in the Signature Reference.
|
public void validate(Signature signature) throws ValidationException
validate インタフェース内 Validator<Signature>signature - the XMLObject to validateValidationException - thrown if the element is not validprotected void validateSignatureImpl(SignatureImpl sigImpl) throws ValidationException
SignatureImpl, which is in turn based on underlying Apache XML Security
XMLSignature instance.sigImpl - the signature implementation object to validateValidationException - thrown if the signature is not valid with respect to the profileprotected org.apache.xml.security.signature.Reference validateReference(org.apache.xml.security.signature.XMLSignature apacheSig)
throws ValidationException
apacheSig - the Apache XML Signature instanceValidationException - thrown if the Signature does not contain exactly 1 Reference, or if there is an error
obtaining the Reference instanceprotected void validateReferenceURI(String uri, SignableSAMLObject signableObject) throws ValidationException
uri - the Signature Reference URI attribute valuesignableObject - the SignableSAMLObject whose signature is being validatedValidationException - if the URI is invalid or doesn't resolve to the expected DOM nodeprotected void validateReferenceURI(String uri, String id) throws ValidationException
uri - the Signature Reference URI attribute valueid - the Signature parents ID attribute valueValidationException - thrown if the URI or ID attribute values are invalidprotected void validateTransforms(org.apache.xml.security.signature.Reference reference)
throws ValidationException
reference - the Signature reference containing the transforms to evaluateValidationException - thrown if the set of transforms is invalidprotected void validateObjectChildren(org.apache.xml.security.signature.XMLSignature apacheSig)
throws ValidationException
apacheSig - the Apache XML Signature instanceValidationException - if the signature contains ds:Object childrenCopyright © 2012. All Rights Reserved.