Modifier and Type | Method and Description |
---|---|
Crypto |
WSDocInfo.getCrypto() |
Modifier and Type | Method and Description |
---|---|
List<WSSecurityEngineResult> |
WSSecurityEngine.processSecurityHeader(Document doc,
String actor,
CallbackHandler cb,
Crypto crypto)
Process the security header given the soap envelope as W3C document.
|
List<WSSecurityEngineResult> |
WSSecurityEngine.processSecurityHeader(Document doc,
String actor,
CallbackHandler cb,
Crypto sigCrypto,
Crypto decCrypto)
Process the security header given the soap envelope as W3C document.
|
List<WSSecurityEngineResult> |
WSSecurityEngine.processSecurityHeader(Element securityHeader,
CallbackHandler cb,
Crypto sigCrypto,
Crypto decCrypto)
Process the security header given the
wsse:Security DOM
Element. |
void |
WSDocInfo.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 |
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)
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 | Field and Description |
---|---|
protected Map<String,Crypto> |
WSHandler.cryptos |
Modifier and Type | Method and Description |
---|---|
Crypto |
RequestData.getDecCrypto() |
Crypto |
RequestData.getEncCrypto() |
Crypto |
RequestData.getSigCrypto() |
protected Crypto |
WSHandler.loadCrypto(String cryptoPropertyFile,
String cryptoPropertyRefId,
RequestData requestData)
Load a Crypto instance.
|
protected Crypto |
WSHandler.loadCryptoFromPropertiesFile(String propFilename,
RequestData reqData)
A hook to allow subclass to load Crypto instances from property files in a different
way.
|
protected Crypto |
WSHandler.loadDecryptionCrypto(RequestData requestData)
Hook to allow subclasses to load their Decryption Crypto however they see
fit.
|
protected Crypto |
WSHandler.loadEncryptionCrypto(RequestData requestData)
Hook to allow subclasses to load their Encryption Crypto however they see
fit.
|
Crypto |
WSHandler.loadSignatureCrypto(RequestData requestData)
Hook to allow subclasses to load their Signature Crypto however they see
fit.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestData.setDecCrypto(Crypto decCrypto) |
void |
RequestData.setEncCrypto(Crypto encCrypto) |
void |
RequestData.setSigCrypto(Crypto sigCrypto) |
Modifier and Type | Method and Description |
---|---|
Document |
WSSecEncrypt.build(Document doc,
Crypto crypto,
WSSecHeader secHeader)
Builds the SOAP envelope with encrypted Body and adds encrypted key.
|
Document |
WSSecSignature.build(Document doc,
Crypto cr,
WSSecHeader secHeader)
Builds a signed soap envelope.
|
void |
WSSecEncryptedKey.prepare(Document doc,
Crypto crypto)
Prepare the ephemeralKey and the tokens required to be added to the
security header
|
void |
WSSecSecurityContextToken.prepare(Document doc,
Crypto crypto) |
void |
WSSecEncrypt.prepare(Document doc,
Crypto crypto)
Initialize a WSSec Encrypt.
|
void |
WSSecSignature.prepare(Document doc,
Crypto cr,
WSSecHeader secHeader)
Initialize a WSSec Signature.
|
protected void |
WSSecEncryptedKey.prepareInternal(SecretKey secretKey,
X509Certificate remoteCert,
Crypto crypto)
Encrypt the symmetric key data and prepare the EncryptedKey element
This method does the most work for to prepare the EncryptedKey element.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Crypto |
SAMLIssuerImpl.getIssuerCrypto() |
Crypto |
SAMLIssuer.getIssuerCrypto() |
Modifier and Type | Method and Description |
---|---|
Document |
WSSecSignatureSAML.build(Document doc,
Crypto uCrypto,
AssertionWrapper assertion,
Crypto iCrypto,
String iKeyName,
String iKeyPW,
WSSecHeader secHeader)
Builds a signed soap envelope with SAML token.
|
void |
WSSecSignatureSAML.prepare(Document doc,
Crypto uCrypto,
AssertionWrapper assertion,
Crypto iCrypto,
String iKeyName,
String iKeyPW,
WSSecHeader secHeader)
Initialize a WSSec SAML Signature.
|
void |
SAMLIssuerImpl.setIssuerCrypto(Crypto issuerCrypto)
Set the issuer crypto
|
void |
SAMLIssuer.setIssuerCrypto(Crypto issuerCrypto)
Set the issuer crypto
|
Modifier and Type | Method and Description |
---|---|
void |
AssertionWrapper.signAssertion(String issuerKeyName,
String issuerKeyPassword,
Crypto issuerCrypto,
boolean sendKeyValue)
Create an enveloped signature on the assertion that has been created.
|
void |
AssertionWrapper.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 |
AssertionWrapper.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.
|
Modifier and Type | Method and Description |
---|---|
protected Crypto |
SignatureTrustValidator.getCrypto(RequestData data) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SignatureTrustValidator.isCertificateInKeyStore(Crypto crypto,
X509Certificate cert)
Deprecated.
|
protected boolean |
SignatureTrustValidator.validatePublicKey(PublicKey publicKey,
Crypto crypto)
Validate a public key
|
protected boolean |
SignatureTrustValidator.verifyTrustInCert(X509Certificate cert,
Crypto crypto)
Deprecated.
|
protected boolean |
SignatureTrustValidator.verifyTrustInCert(X509Certificate cert,
Crypto crypto,
boolean enableRevocation)
Deprecated.
|
protected boolean |
SignatureTrustValidator.verifyTrustInCert(X509Certificate cert,
Crypto crypto,
RequestData data,
boolean enableRevocation)
Evaluate whether a given certificate should be trusted.
|
protected boolean |
SignatureTrustValidator.verifyTrustInCerts(X509Certificate[] certificates,
Crypto crypto)
Deprecated.
|
protected boolean |
SignatureTrustValidator.verifyTrustInCerts(X509Certificate[] certificates,
Crypto crypto,
boolean enableRevocation)
Deprecated.
|
protected boolean |
SignatureTrustValidator.verifyTrustInCerts(X509Certificate[] certificates,
Crypto crypto,
RequestData data,
boolean enableRevocation)
Evaluate whether the given certificate chain should be trusted.
|
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.