Modifier and Type | Method and Description |
---|---|
Crypto |
StaticSTSProperties.getEncryptionCrypto()
Get the encryption Crypto object
|
Crypto |
STSPropertiesMBean.getEncryptionCrypto()
Get the encryption Crypto object
|
Crypto |
StaticSTSProperties.getSignatureCrypto()
Get the signature Crypto object
|
Crypto |
STSPropertiesMBean.getSignatureCrypto()
Get the signature Crypto object
|
Modifier and Type | Method and Description |
---|---|
void |
StaticSTSProperties.setEncryptionCrypto(Crypto encryptionCrypto)
Set the encryption Crypto object
|
void |
STSPropertiesMBean.setEncryptionCrypto(Crypto encryptionCrypto)
Set the encryption Crypto object
|
void |
StaticSTSProperties.setSignatureCrypto(Crypto signatureCrypto)
Set the signature Crypto object
|
void |
STSPropertiesMBean.setSignatureCrypto(Crypto signatureCrypto)
Set the signature Crypto object
|
Modifier and Type | Method and Description |
---|---|
protected static KeyInfoBean |
DefaultSubjectProvider.createEncryptedKeyKeyInfo(X509Certificate certificate,
byte[] secret,
Document doc,
EncryptionProperties encryptionProperties,
Crypto encryptionCrypto)
Create an EncryptedKey KeyInfo.
|
Modifier and Type | Method and Description |
---|---|
Crypto |
RealmProperties.getSignatureCrypto()
Get the signature Crypto object
|
Modifier and Type | Method and Description |
---|---|
void |
RealmProperties.setSignatureCrypto(Crypto signatureCrypto)
Set the signature Crypto object
|
Modifier and Type | Method and Description |
---|---|
Crypto |
SecurityToken.getCrypto() |
Modifier and Type | Method and Description |
---|---|
void |
SecurityToken.setX509Certificate(X509Certificate cert,
Crypto cpt) |
Modifier and Type | Method and Description |
---|---|
protected Crypto |
AbstractSTSClient.createCrypto(boolean decrypt) |
Crypto |
AbstractSTSClient.STSResponse.getCrypto() |
Modifier and Type | Method and Description |
---|---|
protected X509Certificate |
AbstractSTSClient.getCert(Crypto crypto) |
Constructor and Description |
---|
STSResponse(DOMSource response,
byte[] entropy,
X509Certificate cert,
Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
static Crypto |
WSS4JUtils.getEncryptionCrypto(Object e,
org.apache.cxf.binding.soap.SoapMessage message,
PasswordEncryptor passwordEncryptor) |
protected Crypto |
AbstractWSS4JStaxInterceptor.getEncryptionCrypto(Object e,
org.apache.cxf.binding.soap.SoapMessage message,
WSSSecurityProperties securityProperties) |
static Crypto |
WSS4JUtils.getSignatureCrypto(Object s,
org.apache.cxf.binding.soap.SoapMessage message,
PasswordEncryptor passwordEncryptor) |
protected Crypto |
AbstractWSS4JStaxInterceptor.getSignatureCrypto(Object s,
org.apache.cxf.binding.soap.SoapMessage message,
WSSSecurityProperties securityProperties) |
protected Crypto |
AbstractWSS4JStaxInterceptor.loadCrypto(org.apache.cxf.binding.soap.SoapMessage soapMessage,
String cryptoPropertyFile,
String cryptoPropertyRefId,
WSSSecurityProperties securityProperties)
Load a Crypto instance.
|
static Crypto |
WSS4JUtils.loadCryptoFromPropertiesFile(Message message,
String propFilename,
ClassLoader classLoader,
PasswordEncryptor passwordEncryptor) |
protected Crypto |
AbstractWSS4JStaxInterceptor.loadCryptoFromPropertiesFile(org.apache.cxf.binding.soap.SoapMessage soapMessage,
String propFilename,
WSSSecurityProperties securityProperties) |
protected Crypto |
AbstractWSS4JInterceptor.loadCryptoFromPropertiesFile(String propFilename,
RequestData reqData) |
Modifier and Type | Method and Description |
---|---|
protected Crypto |
AbstractBindingBuilder.getCrypto(String cryptoKey,
String propKey) |
Crypto |
AbstractBindingBuilder.getEncryptionCrypto() |
Crypto |
AbstractBindingBuilder.getSignatureCrypto() |
Modifier and Type | Method and Description |
---|---|
protected Map<Object,Crypto> |
AbstractBindingBuilder.getCryptoCache() |
Modifier and Type | Method and Description |
---|---|
String |
AbstractBindingBuilder.setEncryptionUser(WSSecEncryptedKey encrKeyBuilder,
AbstractToken token,
boolean sign,
Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
Crypto |
SignatureEncryptionActionToken.getCrypto() |
Crypto |
SecurityActionToken.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.
|
Modifier and Type | Method and Description |
---|---|
Crypto |
WSDocInfo.getCrypto() |
Modifier and Type | Method and Description |
---|---|
void |
WSDocInfo.setCrypto(Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
WSHandlerResult |
WSSecurityEngine.processSecurityHeader(Document doc,
String actor,
CallbackHandler cb,
Crypto crypto)
Process the security header given the soap envelope as W3C document.
|
WSHandlerResult |
WSSecurityEngine.processSecurityHeader(Document doc,
String actor,
CallbackHandler cb,
Crypto sigVerCrypto,
Crypto decCrypto)
Process the security header given the soap envelope as W3C document.
|
WSHandlerResult |
WSSecurityEngine.processSecurityHeader(Element securityHeader,
String actor,
CallbackHandler cb,
Crypto sigVerCrypto,
Crypto decCrypto)
Process the security header given the
wsse:Security DOM
Element. |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Crypto> |
WSHandler.cryptos |
Modifier and Type | Method and Description |
---|---|
Crypto |
RequestData.getDecCrypto() |
Crypto |
RequestData.getSigVerCrypto() |
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 creation Crypto however they see
fit.
|
Crypto |
WSHandler.loadSignatureVerificationCrypto(RequestData requestData)
Hook to allow subclasses to load their Signature verification Crypto however they see
fit.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestData.setDecCrypto(Crypto decCrypto) |
void |
RequestData.setSigVerCrypto(Crypto sigVerCrypto) |
Modifier and Type | Method and Description |
---|---|
Document |
WSSecSignature.build(Document doc,
Crypto cr,
WSSecHeader secHeader)
Builds a signed soap envelope.
|
Document |
WSSecEncrypt.build(Document doc,
Crypto crypto,
WSSecHeader secHeader)
Builds the SOAP envelope with encrypted Body and adds encrypted key.
|
void |
WSSecSecurityContextToken.prepare(Document doc,
Crypto crypto) |
void |
WSSecEncryptedKey.prepare(Document doc,
Crypto crypto)
Prepare the ephemeralKey and the tokens required to be added to the
security header
|
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,
PublicKey remoteKey,
Crypto crypto) |
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.
|
void |
WSSecDerivedKeyBase.setCrypto(Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
Document |
WSSecSignatureSAML.build(Document doc,
Crypto uCrypto,
SamlAssertionWrapper samlAssertion,
Crypto iCrypto,
String iKeyName,
String iKeyPW,
WSSecHeader secHeader)
Builds a signed soap envelope with SAML token.
|
void |
WSSecSignatureSAML.prepare(Document doc,
Crypto uCrypto,
SamlAssertionWrapper samlAssertion,
Crypto iCrypto,
String iKeyName,
String iKeyPW,
WSSecHeader secHeader)
Initialize a WSSec SAML Signature.
|
Modifier and Type | Method and Description |
---|---|
protected Crypto |
SignatureTrustValidator.getCrypto(RequestData data) |
Modifier and Type | Method and Description |
---|---|
protected void |
SignatureTrustValidator.validatePublicKey(PublicKey publicKey,
Crypto crypto)
Validate a public key
|
protected void |
SignatureTrustValidator.verifyTrustInCerts(X509Certificate[] certificates,
Crypto crypto,
RequestData data,
boolean enableRevocation)
Evaluate whether the given certificate chain should be trusted.
|
Modifier and Type | Method and Description |
---|---|
Crypto |
WSSSecurityProperties.getDecryptionCrypto()
returns the decryptionCrypto for the key-management
|
Crypto |
WSSSecurityProperties.getEncryptionCrypto()
returns the encryptionCrypto for the key-management
|
Crypto |
WSSSecurityProperties.getSignatureCrypto() |
Crypto |
WSSSecurityProperties.getSignatureVerificationCrypto() |
Modifier and Type | Method and Description |
---|---|
void |
WSSSecurityProperties.setDecryptionCrypto(Crypto decCrypto) |
void |
WSSSecurityProperties.setEncryptionCrypto(Crypto encCrypto) |
void |
WSSSecurityProperties.setSignatureCrypto(Crypto sigCrypto) |
void |
WSSSecurityProperties.setSignatureVerificationCrypto(Crypto sigVerCrypto) |
Modifier and Type | Method and Description |
---|---|
protected Crypto |
X509SecurityTokenImpl.getCrypto() |
Modifier and Type | Method and Description |
---|---|
static org.apache.xml.security.stax.securityToken.InboundSecurityToken |
SecurityTokenFactoryImpl.getSecurityToken(org.apache.xml.security.binding.xmldsig.KeyValueType keyValueType,
Crypto crypto,
CallbackHandler callbackHandler,
org.apache.xml.security.stax.ext.SecurityContext securityContext)
Deprecated.
|
static org.apache.xml.security.stax.securityToken.InboundSecurityToken |
SecurityTokenFactoryImpl.getSecurityToken(org.apache.xml.security.binding.xmldsig.KeyValueType keyValueType,
Crypto crypto,
CallbackHandler callbackHandler,
org.apache.xml.security.stax.ext.SecurityContext securityContext,
WSSSecurityProperties securityProperties) |
static org.apache.xml.security.stax.securityToken.InboundSecurityToken |
SecurityTokenFactoryImpl.getSecurityToken(SecurityTokenReferenceType securityTokenReferenceType,
Crypto crypto,
CallbackHandler callbackHandler,
org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext,
WSSSecurityProperties securityProperties) |
protected void |
X509SecurityTokenImpl.setCrypto(Crypto crypto) |
Constructor and Description |
---|
DsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.DSAKeyValueType dsaKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto)
Deprecated.
|
DsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.DSAKeyValueType dsaKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
WSSSecurityProperties securityProperties) |
ECKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig11.ECKeyValueType ecKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto)
Deprecated.
|
ECKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig11.ECKeyValueType ecKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
WSSSecurityProperties securityProperties) |
RsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.RSAKeyValueType rsaKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto)
Deprecated.
|
RsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.RSAKeyValueType rsaKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
WSSSecurityProperties securityProperties) |
SamlSecurityTokenImpl(SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier,
WSSSecurityProperties securityProperties) |
X509PKIPathv1SecurityTokenImpl(WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
byte[] binaryContent,
String id,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier,
WSSSecurityProperties securityProperties) |
X509SecurityTokenImpl(org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType tokenType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
String id,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier,
WSSSecurityProperties securityProperties,
boolean includedInMessage) |
X509V3SecurityTokenImpl(WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
byte[] binaryContent,
String id,
WSSSecurityProperties securityProperties) |
Modifier and Type | Method and Description |
---|---|
protected Crypto |
BinarySecurityTokenValidatorImpl.getCrypto(WSSSecurityProperties securityProperties) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.