Package | Description |
---|---|
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 of
Credential s. |
org.opensaml.security.x509 |
X.509-based credential and trust classes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
KeySupport.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(Credential signingCredential,
String jcaAlgorithmID,
boolean isMAC,
byte[] input)
Compute the signature or MAC value over the supplied input.
|
static byte[] |
SigningUtil.sign(PrivateKey signingKey,
String jcaAlgorithmID,
byte[] input)
Compute the raw signature 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 boolean |
SigningUtil.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 boolean |
SigningUtil.verify(PublicKey verificationKey,
String jcaAlgorithmID,
byte[] signature,
byte[] input)
Verify the signature value computed over the supplied input against the supplied signature value.
|
static boolean |
SigningUtil.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.
|
Constructor and Description |
---|
ServletRequestX509CredentialAdapter(ServletRequest request)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TrustEngine.validate(TokenType token,
net.shibboleth.utilities.java.support.resolver.CriteriaSet trustBasisCriteria)
Validates the token against trusted information obtained in an
implementation-specific manner.
|
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
X509Support.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.
|
boolean |
PKIXTrustEvaluator.validate(PKIXValidationInformation validationInfo,
X509Credential untrustedCredential)
Validate the specified credential against the specified set of trusted validation information.
|
Copyright © 1999–2015 JBoss by Red Hat. All rights reserved.