Uses of Class
org.opensaml.security.SecurityException
Packages that use SecurityException
Package
Description
Support classes for SAML message security operations.
Implementations of
Criterion where the
parameterized evaluation target type is Credential.General cryptographic functionality.
Messaging-related security classes.
Interfaces and classes used to evaluate the trustworthiness and validity of
Credentials.TrustEngine implementation classes.X.509-based credential and trust classes.
TrustEngine implementation classes related to PKIX.SOAP client functionality.
SOAP HTTP client functionality.
Support classes for XML Security operations.
Classes in support of processing XML Signature KeyInfo material.
Interfaces and classes for working with XML KeyInfo elements.
Specific implementations of
KeyInfoProvider.Functional support for XML Signature.
Implementations of signature evaluation functions.
-
Uses of SecurityException in org.opensaml.saml.common.messaging
Methods in org.opensaml.saml.common.messaging that throw SecurityExceptionModifier and TypeMethodDescriptionstatic voidSAMLMessageSecuritySupport.signMessage(MessageContext messageContext) Signs the SAML message represented in the message context if it is aSignableXMLObjectand the message context contains signing parameters as determined bySAMLMessageSecuritySupport.getContextSigningParameters(MessageContext). -
Uses of SecurityException in org.opensaml.security.credential.criteria.impl
Methods in org.opensaml.security.credential.criteria.impl that throw SecurityExceptionModifier and TypeMethodDescriptionstatic EvaluableCredentialCriterionEvaluableCredentialCriteriaRegistry.getEvaluator(Criterion criteria) Get an instance ofEvaluableCredentialCriterionwhich can evaluate the supplied criteria's requirements against a Credential target. -
Uses of SecurityException in org.opensaml.security.crypto
Methods in org.opensaml.security.crypto that throw SecurityExceptionModifier and TypeMethodDescriptionstatic booleanKeySupport.matchKeyPair(PublicKey pubKey, PrivateKey privKey) Compare the supplied public and private keys, and determine if they correspond to the same key pair.static byte[]SigningUtil.sign(PrivateKey signingKey, String jcaAlgorithmID, byte[] input) Compute the raw signature value over the supplied input.static byte[]SigningUtil.sign(Credential signingCredential, String jcaAlgorithmID, boolean isMAC, byte[] input) Compute the signature or MAC value over the supplied input.static byte[]Compute the Message Authentication Code (MAC) value over the supplied input.static booleanSigningUtil.verify(PublicKey verificationKey, String jcaAlgorithmID, byte[] signature, byte[] input) Verify the signature value computed over the supplied input against the supplied signature value.static booleanSigningUtil.verify(Credential verificationCredential, String jcaAlgorithmID, boolean isMAC, byte[] signature, byte[] input) Verify the signature value computed over the supplied input against the supplied signature value.static booleanVerify the Message Authentication Code (MAC) value computed over the supplied input against the supplied MAC value. -
Uses of SecurityException in org.opensaml.security.messaging
Constructors in org.opensaml.security.messaging that throw SecurityExceptionModifierConstructorDescriptionConstructor. -
Uses of SecurityException in org.opensaml.security.testing
Methods in org.opensaml.security.testing that throw SecurityExceptionModifier and TypeMethodDescriptionbooleanMockTrustEngine.validate(TokenType token, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner. -
Uses of SecurityException in org.opensaml.security.trust
Methods in org.opensaml.security.trust that throw SecurityExceptionModifier and TypeMethodDescriptionbooleanTrustEngine.validate(TokenType token, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner. -
Uses of SecurityException in org.opensaml.security.trust.impl
Methods in org.opensaml.security.trust.impl that throw SecurityExceptionModifier and TypeMethodDescriptionbooleanChainingTrustEngine.validate(TokenType token, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner.booleanExplicitKeyTrustEngine.validate(Credential untrustedCredential, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner.booleanExplicitX509CertificateTrustEngine.validate(X509Credential untrustedCredential, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner. -
Uses of SecurityException in org.opensaml.security.x509
Methods in org.opensaml.security.x509 that throw SecurityExceptionModifier and TypeMethodDescriptionstatic X509CertificateX509Support.determineEntityCertificate(Collection<X509Certificate> certs, PrivateKey privateKey) Determines the certificate, from the collection, associated with the private key.static byte[]X509Support.getX509Digest(X509Certificate certificate, String jcaAlgorithm) Get the XML Signature-compliant digest of an X.509 certificate.booleanPKIXTrustEvaluator.validate(PKIXValidationInformation validationInfo, X509Credential untrustedCredential) Validate the specified credential against the specified set of trusted validation information. -
Uses of SecurityException in org.opensaml.security.x509.impl
Methods in org.opensaml.security.x509.impl that throw SecurityExceptionModifier and TypeMethodDescriptionprotected booleanPKIXX509CredentialTrustEngine.checkNames(Set<String> trustedNames, X509Credential untrustedCredential) Evaluate the credential against the set of trusted names.booleanBasicX509CredentialNameEvaluator.evaluate(X509Credential credential, Set<String> trustedNames) Evaluate the specified credential against the specified set of trusted names.booleanDummyX509CredentialNameEvaluator.evaluate(X509Credential credential, Set<String> trustedNames) Evaluate the specified credential against the specified set of trusted names.booleanX509CredentialNameEvaluator.evaluate(X509Credential credential, Set<String> trustedNames) Evaluate the specified credential against the specified set of trusted names.booleanCertPathPKIXTrustEvaluator.validate(PKIXValidationInformation validationInfo, X509Credential untrustedCredential) Validate the specified credential against the specified set of trusted validation information.protected booleanPKIXX509CredentialTrustEngine.validate(X509Credential untrustedX509Credential, Set<String> trustedNames, Iterable<PKIXValidationInformation> validationInfoSet) Perform PKIX validation on the untrusted credential, using PKIX validation information based on the supplied set of trusted credentials.booleanPKIXX509CredentialTrustEngine.validate(X509Credential untrustedCredential, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner. -
Uses of SecurityException in org.opensaml.soap.client
Methods in org.opensaml.soap.client that throw SecurityExceptionModifier and TypeMethodDescriptionvoidSOAPClient.send(String endpoint, InOutOperationContext context) Sends a message and waits for a response. -
Uses of SecurityException in org.opensaml.soap.client.http
Methods in org.opensaml.soap.client.http that throw SecurityExceptionModifier and TypeMethodDescriptionvoidAbstractPipelineHttpSOAPClient.send(String endpoint, InOutOperationContext operationContext) Sends a message and waits for a response.voidHttpSOAPClient.send(String endpoint, InOutOperationContext context) Deprecated.Sends a message and waits for a response. -
Uses of SecurityException in org.opensaml.xmlsec.crypto
Methods in org.opensaml.xmlsec.crypto that throw SecurityExceptionModifier and TypeMethodDescriptionstatic byte[]XMLSigningUtil.signWithURI(Credential signingCredential, String algorithmURI, byte[] input) Compute the signature or MAC value over the supplied input.static booleanXMLSigningUtil.verifyWithURI(Credential verificationCredential, String algorithmURI, byte[] signature, byte[] input) Verify the signature value computed over the supplied input against the supplied signature value. -
Uses of SecurityException in org.opensaml.xmlsec.keyinfo
Methods in org.opensaml.xmlsec.keyinfo that throw SecurityExceptionModifier and TypeMethodDescriptionstatic X509SKIKeyInfoSupport.buildX509SKI(X509Certificate javaCert) Build anX509SKIcontaining the subject key identifier extension value contained within a certificate.KeyInfoGenerator.generate(Credential credential) Generate a new KeyInfo object based on keying material and other information within a credential. -
Uses of SecurityException in org.opensaml.xmlsec.keyinfo.impl
Methods in org.opensaml.xmlsec.keyinfo.impl that throw SecurityExceptionModifier and TypeMethodDescriptionprotected KeyInfoBasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator.buildKeyInfo()Build a new KeyInfo instance.private KeyInfoClone a KeyInfo and return the new object.BasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator.generate(Credential credential) Generate a new KeyInfo object based on keying material and other information within a credential.KeyAgreementKeyInfoGeneratorFactory.KeyAgreementKeyInfoGenerator.generate(Credential credential) Generate a new KeyInfo object based on keying material and other information within a credential.StaticKeyInfoGenerator.generate(Credential credential) Generate a new KeyInfo object based on keying material and other information within a credential.X509KeyInfoGeneratorFactory.X509KeyInfoGenerator.generate(Credential credential) Generate a new KeyInfo object based on keying material and other information within a credential.private MarshallerStaticKeyInfoGenerator.getMarshaller()Get a KeyInfo marshaller.private UnmarshallerStaticKeyInfoGenerator.getUnmarshaller()Get a KeyInfo unmarshaller.KeyInfoProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.private voidKeyAgreementKeyInfoGeneratorFactory.KeyAgreementKeyInfoGenerator.processAgreementParameters(KeyInfo keyInfo, AgreementMethod agreementMethod, KeyAgreementCredential credential) protected voidX509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processCertX509DataOptions(X509Data x509Data, X509Certificate cert) Process the options related to generation of child elements of X509Data based on certificate data.protected voidX509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processCertX509Digest(X509Data x509Data, X509Certificate cert) Process the options related to generation of the X509Digest child element of X509Data based on certificate data.protected voidX509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processCertX509SKI(X509Data x509Data, X509Certificate cert) Process the options related to generation of the X509SKI child element of X509Data based on certificate data.protected voidX509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processCRLs(KeyInfo keyInfo, X509Data x509Data, X509Credential credential) Process the value ofX509Credential.getCRLs().protected voidX509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processEntityCertificate(KeyInfo keyInfo, X509Data x509Data, X509Credential credential) Process the value ofX509Credential.getEntityCertificate().protected voidX509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processEntityCertificateChain(KeyInfo keyInfo, X509Data x509Data, X509Credential credential) Process the value ofX509Credential.getEntityCertificateChain().private voidKeyAgreementKeyInfoGeneratorFactory.KeyAgreementKeyInfoGenerator.processOriginatorKeyInfo(KeyInfo keyInfo, AgreementMethod agreementMethod, KeyAgreementCredential credential) Process theKeyAgreementCredential.getOriginatorCredential().protected voidBasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator.processPublicKey(KeyInfo keyInfo, Credential credential) Process the value ofCredential.getPublicKey().private voidKeyAgreementKeyInfoGeneratorFactory.KeyAgreementKeyInfoGenerator.processRecipientKeyInfo(KeyInfo keyInfo, AgreementMethod agreementMethod, KeyAgreementCredential credential) -
Uses of SecurityException in org.opensaml.xmlsec.keyinfo.impl.provider
Methods in org.opensaml.xmlsec.keyinfo.impl.provider that throw SecurityExceptionModifier and TypeMethodDescriptionprivate List<X509Certificate>InlineX509DataProvider.extractCertificates(X509Data x509Data) Extract certificates from the X509Data.InlineX509DataProvider.extractCRLs(X509Data x509Data) Extract CRLs from the X509Data.AgreementMethodKeyInfoProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.DEREncodedKeyValueProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.DSAKeyValueProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.ECKeyValueProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.InlineX509DataProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.KeyInfoReferenceProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.RSAKeyValueProvider.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.private StringAgreementMethodKeyInfoProvider.resolveKeyAlgorithm(AgreementMethod agreementMethod) Resolve the encryption algorithm URI to be used with the derived key.private CredentialAgreementMethodKeyInfoProvider.resolveOriginatorCredential(AgreementMethod agreementMethod, KeyInfoCredentialResolver resolver) Resolve the originatorCredentialfrom theOriginatorKeyInfoelement.private CredentialAgreementMethodKeyInfoProvider.resolveRecipientCredential(AgreementMethod agreementMethod, KeyInfoCredentialResolver resolver) Resolve the recipientCredentialfrom theRecipientKeyInfoelement. -
Uses of SecurityException in org.opensaml.xmlsec.signature.support
Methods in org.opensaml.xmlsec.signature.support that throw SecurityExceptionModifier and TypeMethodDescriptionstatic voidSignatureSupport.prepareSignatureParams(Signature signature, SignatureSigningParameters parameters) Prepare aSignaturewith necessary additional information prior to signing.private static voidSignatureSupport.processContentReferences(Signature signature, SignatureSigningParameters parameters) Prepare the content references.private static voidSignatureSupport.processKeyInfo(Signature signature, SignatureSigningParameters parameters) Prepare the content references.static voidSignatureSupport.signObject(SignableXMLObject signable, SignatureSigningParameters parameters) Signs aSignableXMLObject.booleanSignatureTrustEngine.validate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential. -
Uses of SecurityException in org.opensaml.xmlsec.signature.support.impl
Methods in org.opensaml.xmlsec.signature.support.impl that throw SecurityExceptionModifier and TypeMethodDescriptionprotected booleanPKIXSignatureTrustEngine.checkNames(Set<String> trustedNames, X509Credential untrustedCredential) Evaluate the credential against the set of trusted names.protected voidBaseSignatureTrustEngine.checkParams(Signature signature, CriteriaSet trustBasisCriteria) Check the signature and credential criteria for required values.protected voidBaseSignatureTrustEngine.checkParamsRaw(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria) Check the signature and credential criteria for required values.protected abstract booleanBaseSignatureTrustEngine.doValidate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential.protected abstract booleanBaseSignatureTrustEngine.doValidate(Signature signature, CriteriaSet trustBasisCriteria) Validate the signature using the supplied trust criteria.protected booleanExplicitKeySignatureTrustEngine.doValidate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential.protected booleanExplicitKeySignatureTrustEngine.doValidate(Signature signature, CriteriaSet trustBasisCriteria) Validate the signature using the supplied trust criteria.protected booleanPKIXSignatureTrustEngine.doValidate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential.protected booleanPKIXSignatureTrustEngine.doValidate(Signature signature, CriteriaSet trustBasisCriteria) Validate the signature using the supplied trust criteria.protected abstract booleanBaseSignatureTrustEngine.evaluateTrust(Credential untrustedCredential, TrustBasisType trustBasis) Evaluate the untrusted KeyInfo-derived credential with respect to the specified trusted information.protected booleanExplicitKeySignatureTrustEngine.evaluateTrust(Credential untrustedCredential, Iterable<Credential> trustedCredentials) Evaluate the untrusted KeyInfo-derived credential with respect to the specified trusted information.protected booleanPKIXSignatureTrustEngine.evaluateTrust(Credential untrustedCredential, Pair<Set<String>, Iterable<PKIXValidationInformation>> validationPair) Evaluate the untrusted KeyInfo-derived credential with respect to the specified trusted information.protected Pair<Set<String>,Iterable<PKIXValidationInformation>> PKIXSignatureTrustEngine.resolveValidationInfo(CriteriaSet trustBasisCriteria) Resolve and return a set of trusted validation information.final booleanBaseSignatureTrustEngine.validate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential.final booleanBaseSignatureTrustEngine.validate(Signature signature, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner.protected booleanBaseSignatureTrustEngine.validate(Signature signature, TrustBasisType trustBasis) Attempt to establish trust by resolving signature verification credentials from the Signature's KeyInfo.booleanChainingSignatureTrustEngine.validate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential.booleanChainingSignatureTrustEngine.validate(Signature token, CriteriaSet trustBasisCriteria) Validates the token against trusted information obtained in an implementation-specific manner.