| Package | Description |
|---|---|
| org.apache.wss4j.common | |
| org.apache.wss4j.common.crypto | |
| org.apache.wss4j.common.saml | |
| org.apache.wss4j.common.token |
| Modifier and Type | Method and Description |
|---|---|
Crypto |
SecurityActionToken.getCrypto() |
Crypto |
SignatureEncryptionActionToken.getCrypto() |
| Modifier and Type | Method and Description |
|---|---|
void |
SignatureEncryptionActionToken.setCrypto(Crypto crypto) |
| Modifier and Type | Class and Description |
|---|---|
class |
CertificateStore
A Crypto implementation based on a simple array of X509Certificate(s).
|
class |
CryptoBase
This Abstract Base Class implements the accessor and keystore-independent methods and
functionality of the Crypto interface.
|
class |
Merlin
A Crypto implementation based on two Java KeyStore objects, one being the keystore, and one
being the truststore.
|
class |
MerlinAKI
A Crypto implementation based on two Java KeyStore objects, one being the keystore, and one
being the truststore.
|
class |
MerlinDevice
A Crypto implementation based on two Java KeyStore objects, one being the keystore, and one
being the truststore.
|
| Modifier and Type | Method and Description |
|---|---|
static Crypto |
CryptoFactory.getInstance()
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(Class<? extends Crypto> cryptoClass,
Map<Object,Object> map)
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(Properties properties)
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(Properties properties,
ClassLoader classLoader,
PasswordEncryptor passwordEncryptor)
getInstance
Returns an instance of Crypto loaded with the given classloader.
|
static Crypto |
CryptoFactory.getInstance(String propFilename)
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(String propFilename,
ClassLoader customClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
static Crypto |
CryptoFactory.getInstance(Class<? extends Crypto> cryptoClass,
Map<Object,Object> map)
getInstance
Returns an instance of Crypto.
|
| Modifier and Type | Method and Description |
|---|---|
Crypto |
SAMLCallback.getIssuerCrypto() |
| Modifier and Type | Method and Description |
|---|---|
static SAMLKeyInfo |
SAMLUtil.getCredentialFromKeyInfo(Element keyInfoElement,
SAMLKeyInfoProcessor keyInfoProcessor,
Crypto sigCrypto)
This method returns a SAMLKeyInfo corresponding to the credential found in the
KeyInfo (DOM Element) argument.
|
static SAMLKeyInfo |
SAMLUtil.getCredentialFromSubject(org.opensaml.saml.saml1.core.Assertion assertion,
SAMLKeyInfoProcessor keyInfoProcessor,
Crypto sigCrypto,
CallbackHandler callbackHandler)
Get the SAMLKeyInfo object corresponding to the credential stored in the Subject of a
SAML 1.1 assertion
|
static SAMLKeyInfo |
SAMLUtil.getCredentialFromSubject(org.opensaml.saml.saml2.core.Assertion assertion,
SAMLKeyInfoProcessor keyInfoProcessor,
Crypto sigCrypto,
CallbackHandler callbackHandler)
Get the SAMLKeyInfo object corresponding to the credential stored in the Subject of a
SAML 2 assertion
|
static SAMLKeyInfo |
SAMLUtil.getCredentialFromSubject(SamlAssertionWrapper samlAssertion,
SAMLKeyInfoProcessor keyInfoProcessor,
Crypto sigCrypto,
CallbackHandler callbackHandler)
Parse a SAML Assertion to obtain a SAMLKeyInfo object from
the Subject of the assertion
|
void |
SamlAssertionWrapper.parseSubject(SAMLKeyInfoProcessor keyInfoProcessor,
Crypto sigCrypto,
CallbackHandler callbackHandler)
This method parses the KeyInfo of the Subject.
|
void |
SAMLCallback.setIssuerCrypto(Crypto issuerCrypto) |
void |
SamlAssertionWrapper.signAssertion(String issuerKeyName,
String issuerKeyPassword,
Crypto issuerCrypto,
boolean sendKeyValue)
Create an enveloped signature on the assertion that has been created.
|
void |
SamlAssertionWrapper.signAssertion(String issuerKeyName,
String issuerKeyPassword,
Crypto issuerCrypto,
boolean sendKeyValue,
String canonicalizationAlgorithm,
String signatureAlgorithm)
Create an enveloped signature on the assertion that has been created.
|
void |
SamlAssertionWrapper.signAssertion(String issuerKeyName,
String issuerKeyPassword,
Crypto issuerCrypto,
boolean sendKeyValue,
String canonicalizationAlgorithm,
String signatureAlgorithm,
String signatureDigestAlgorithm)
Create an enveloped signature on the assertion that has been created.
|
void |
SamlAssertionWrapper.verifySignature(SAMLKeyInfoProcessor keyInfoProcessor,
Crypto sigCrypto)
Verify the signature of this assertion
|
| Modifier and Type | Method and Description |
|---|---|
X509Certificate[] |
SecurityTokenReference.getKeyIdentifier(Crypto crypto)
Gets the KeyIdentifier.
|
X509Certificate |
X509Security.getX509Certificate(Crypto crypto)
Gets the X509Certificate certificate.
|
X509Certificate[] |
PKIPathSecurity.getX509Certificates(Crypto crypto)
get the X509Certificate array.
|
X509Certificate[] |
SecurityTokenReference.getX509IssuerSerial(Crypto crypto)
Gets the certificate identified with X509 issuerSerial data.
|
X509Certificate |
SecurityTokenReference.getX509SKIAlias(Crypto crypto) |
void |
SecurityTokenReference.setKeyIdentifierSKI(X509Certificate cert,
Crypto crypto)
Sets the KeyIdentifier Element as a X509 Subject-Key-Identifier (SKI).
|
void |
PKIPathSecurity.setX509Certificates(X509Certificate[] certs,
Crypto crypto)
set the X509Certificate array.
|
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.