Uses of Class
org.opensaml.security.SecurityException
-
Packages that use SecurityException Package Description org.opensaml.saml.common.messaging Support classes for SAML message security operations.org.opensaml.security.credential.criteria.impl Implementations ofCriterionwhere the parameterized evaluation target type isCredential.org.opensaml.security.crypto General cryptographic functionality.org.opensaml.security.messaging Messaging-related security classes.org.opensaml.security.trust Interfaces and classes used to evaluate the trustworthiness and validity ofCredentials.org.opensaml.security.trust.impl TrustEngineimplementation classes.org.opensaml.security.x509 X.509-based credential and trust classes.org.opensaml.security.x509.impl TrustEngineimplementation classes related to PKIX.org.opensaml.soap.client SOAP client functionality.org.opensaml.soap.client.http SOAP HTTP client functionality.org.opensaml.xmlsec.crypto Support classes for XML Security operations.org.opensaml.xmlsec.keyinfo Classes in support of processing XML Signature KeyInfo material.org.opensaml.xmlsec.keyinfo.impl Interfaces and classes for working with XML KeyInfo elements.org.opensaml.xmlsec.keyinfo.impl.provider Specific implementations ofKeyInfoProvider.org.opensaml.xmlsec.signature.support Functional support for XML Signature.org.opensaml.xmlsec.signature.support.impl Implementations of signature evaluation functions. -
-
Uses of SecurityException in org.opensaml.saml.common.messaging
Methods in org.opensaml.saml.common.messaging that throw SecurityException Modifier and Type Method Description static 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 SecurityException Modifier and Type Method Description static 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 SecurityException Modifier and Type Method Description static 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[]SigningUtil. signMAC(Key signingKey, String jcaAlgorithmID, byte[] input)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 booleanSigningUtil. verifyMAC(Key verificationKey, String jcaAlgorithmID, byte[] signature, byte[] input)Verify 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 SecurityException Constructor Description ServletRequestX509CredentialAdapter(javax.servlet.ServletRequest request)Constructor. -
Uses of SecurityException in org.opensaml.security.trust
Methods in org.opensaml.security.trust that throw SecurityException Modifier and Type Method Description booleanTrustEngine. 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 SecurityException Modifier and Type Method Description booleanChainingTrustEngine. 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 SecurityException Modifier and Type Method Description static 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 SecurityException Modifier and Type Method Description protected 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.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 SecurityException Modifier and Type Method Description voidSOAPClient. 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 SecurityException Modifier and Type Method Description voidAbstractPipelineHttpSOAPClient. send(String endpoint, InOutOperationContext operationContext)Sends a message and waits for a response.voidHttpSOAPClient. send(String endpoint, InOutOperationContext context)Sends a message and waits for a response. -
Uses of SecurityException in org.opensaml.xmlsec.crypto
Methods in org.opensaml.xmlsec.crypto that throw SecurityException Modifier and Type Method Description static 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 SecurityException Modifier and Type Method Description static X509SKIKeyInfoSupport. buildX509SKI(X509Certificate javaCert)Build anX509SKIcontaining the subject key identifier extension value contained within a certificate.KeyInfoKeyInfoGenerator. 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 SecurityException Modifier and Type Method Description protected KeyInfoBasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator. buildKeyInfo()Build a new KeyInfo instance.private KeyInfoStaticKeyInfoGenerator. clone(KeyInfo origKeyInfo)Clone a KeyInfo and return the new object.KeyInfoBasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator. generate(Credential credential)Generate a new KeyInfo object based on keying material and other information within a credential.KeyInfoKeyAgreementKeyInfoGeneratorFactory.KeyAgreementKeyInfoGenerator. generate(Credential credential)Generate a new KeyInfo object based on keying material and other information within a credential.KeyInfoStaticKeyInfoGenerator. generate(Credential credential)Generate a new KeyInfo object based on keying material and other information within a credential.KeyInfoX509KeyInfoGeneratorFactory.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.Collection<Credential>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 SecurityException Modifier and Type Method Description private List<X509Certificate>InlineX509DataProvider. extractCertificates(X509Data x509Data)Extract certificates from the X509Data.private List<X509CRL>InlineX509DataProvider. extractCRLs(X509Data x509Data)Extract CRLs from the X509Data.Collection<Credential>AgreementMethodKeyInfoProvider. process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.Collection<Credential>DEREncodedKeyValueProvider. process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.Collection<Credential>DSAKeyValueProvider. process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.Collection<Credential>ECKeyValueProvider. process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.Collection<Credential>InlineX509DataProvider. process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.Collection<Credential>KeyInfoReferenceProvider. process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext)Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.Collection<Credential>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 SecurityException Modifier and Type Method Description static 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 SecurityException Modifier and Type Method Description protected 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.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.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.
-