Uses of Interface
org.apache.wss4j.common.crypto.Crypto
-
-
Uses of Crypto in org.apache.cxf.sts
Methods in org.apache.cxf.sts that return Crypto Modifier and Type Method Description CryptoStaticSTSProperties. getEncryptionCrypto()Get the encryption Crypto objectCryptoSTSPropertiesMBean. getEncryptionCrypto()Get the encryption Crypto objectCryptoStaticSTSProperties. getSignatureCrypto()Get the signature Crypto objectCryptoSTSPropertiesMBean. getSignatureCrypto()Get the signature Crypto objectMethods in org.apache.cxf.sts with parameters of type Crypto Modifier and Type Method Description voidStaticSTSProperties. setEncryptionCrypto(Crypto encryptionCrypto)Set the encryption Crypto objectvoidSTSPropertiesMBean. setEncryptionCrypto(Crypto encryptionCrypto)Set the encryption Crypto objectvoidStaticSTSProperties. setSignatureCrypto(Crypto signatureCrypto)Set the signature Crypto objectvoidSTSPropertiesMBean. setSignatureCrypto(Crypto signatureCrypto)Set the signature Crypto object -
Uses of Crypto in org.apache.cxf.sts.token.provider
Methods in org.apache.cxf.sts.token.provider with parameters of type Crypto Modifier and Type Method Description protected static KeyInfoBeanDefaultSubjectProvider. createEncryptedKeyKeyInfo(X509Certificate certificate, byte[] secret, Document doc, EncryptionProperties encryptionProperties, Crypto encryptionCrypto)Create an EncryptedKey KeyInfo. -
Uses of Crypto in org.apache.cxf.sts.token.realm
Methods in org.apache.cxf.sts.token.realm that return Crypto Modifier and Type Method Description CryptoRealmProperties. getSignatureCrypto()Get the signature Crypto objectMethods in org.apache.cxf.sts.token.realm with parameters of type Crypto Modifier and Type Method Description voidRealmProperties. setSignatureCrypto(Crypto signatureCrypto)Set the signature Crypto object -
Uses of Crypto in org.apache.cxf.ws.security.tokenstore
Methods in org.apache.cxf.ws.security.tokenstore that return Crypto Modifier and Type Method Description CryptoSecurityToken. getCrypto()Methods in org.apache.cxf.ws.security.tokenstore with parameters of type Crypto Modifier and Type Method Description voidSecurityToken. setX509Certificate(X509Certificate cert, Crypto cpt) -
Uses of Crypto in org.apache.cxf.ws.security.trust
Methods in org.apache.cxf.ws.security.trust that return Crypto Modifier and Type Method Description protected CryptoAbstractSTSClient. createCrypto(boolean decrypt)CryptoAbstractSTSClient.STSResponse. getCrypto()Methods in org.apache.cxf.ws.security.trust with parameters of type Crypto Modifier and Type Method Description protected X509CertificateAbstractSTSClient. getCert(Crypto crypto)Constructors in org.apache.cxf.ws.security.trust with parameters of type Crypto Constructor Description STSResponse(DOMSource response, byte[] entropy, X509Certificate cert, Crypto crypto)STSResponse(DOMSource response, byte[] entropy, X509Certificate cert, Crypto crypto, Collection<Attachment> attachments) -
Uses of Crypto in org.apache.cxf.ws.security.wss4j
Methods in org.apache.cxf.ws.security.wss4j that return Crypto Modifier and Type Method Description protected CryptoAbstractWSS4JStaxInterceptor. getEncryptionCrypto(Object e, org.apache.cxf.binding.soap.SoapMessage message, WSSSecurityProperties securityProperties)static CryptoWSS4JUtils. getEncryptionCrypto(Object e, org.apache.cxf.binding.soap.SoapMessage message, PasswordEncryptor passwordEncryptor)protected CryptoAbstractWSS4JStaxInterceptor. getSignatureCrypto(Object s, org.apache.cxf.binding.soap.SoapMessage message, WSSSecurityProperties securityProperties)static CryptoWSS4JUtils. getSignatureCrypto(Object s, org.apache.cxf.binding.soap.SoapMessage message, PasswordEncryptor passwordEncryptor)protected CryptoAbstractWSS4JStaxInterceptor. loadCrypto(org.apache.cxf.binding.soap.SoapMessage soapMessage, String cryptoPropertyFile, String cryptoPropertyRefId, WSSSecurityProperties securityProperties)Load a Crypto instance.protected CryptoAbstractWSS4JInterceptor. loadCryptoFromPropertiesFile(String propFilename, RequestData reqData)protected CryptoAbstractWSS4JStaxInterceptor. loadCryptoFromPropertiesFile(org.apache.cxf.binding.soap.SoapMessage soapMessage, String propFilename, WSSSecurityProperties securityProperties)static CryptoWSS4JUtils. loadCryptoFromPropertiesFile(Message message, String propFilename, ClassLoader classLoader, PasswordEncryptor passwordEncryptor) -
Uses of Crypto in org.apache.cxf.ws.security.wss4j.policyhandlers
Methods in org.apache.cxf.ws.security.wss4j.policyhandlers that return Crypto Modifier and Type Method Description protected CryptoAbstractBindingBuilder. getCrypto(String cryptoKey, String propKey)CryptoAbstractBindingBuilder. getEncryptionCrypto()CryptoAbstractBindingBuilder. getSignatureCrypto()Methods in org.apache.cxf.ws.security.wss4j.policyhandlers that return types with arguments of type Crypto Modifier and Type Method Description protected Map<Object,Crypto>AbstractBindingBuilder. getCryptoCache()Methods in org.apache.cxf.ws.security.wss4j.policyhandlers with parameters of type Crypto Modifier and Type Method Description StringAbstractBindingBuilder. setEncryptionUser(WSSecEncryptedKey encrKeyBuilder, AbstractToken token, boolean sign, Crypto crypto) -
Uses of Crypto in org.apache.wss4j.common
Methods in org.apache.wss4j.common that return Crypto Modifier and Type Method Description CryptoSecurityActionToken. getCrypto()CryptoSignatureEncryptionActionToken. getCrypto()Methods in org.apache.wss4j.common with parameters of type Crypto Modifier and Type Method Description voidSignatureEncryptionActionToken. setCrypto(Crypto crypto) -
Uses of Crypto in org.apache.wss4j.common.crypto
Classes in org.apache.wss4j.common.crypto that implement Crypto Modifier and Type Class Description classCertificateStoreA Crypto implementation based on a simple array of X509Certificate(s).classCryptoBaseThis Abstract Base Class implements the accessor and keystore-independent methods and functionality of the Crypto interface.classMerlinA Crypto implementation based on two Java KeyStore objects, one being the keystore, and one being the truststore.classMerlinAKIA Crypto implementation based on two Java KeyStore objects, one being the keystore, and one being the truststore.classMerlinDeviceA Crypto implementation based on two Java KeyStore objects, one being the keystore, and one being the truststore.Methods in org.apache.wss4j.common.crypto that return Crypto Modifier and Type Method Description static CryptoCryptoFactory. getInstance()getInstancestatic CryptoCryptoFactory. getInstance(Class<? extends Crypto> cryptoClass, Map<Object,Object> map)getInstancestatic CryptoCryptoFactory. getInstance(String propFilename)getInstancestatic CryptoCryptoFactory. getInstance(String propFilename, ClassLoader customClassLoader)static CryptoCryptoFactory. getInstance(Properties properties)getInstancestatic CryptoCryptoFactory. getInstance(Properties properties, ClassLoader classLoader, PasswordEncryptor passwordEncryptor)getInstanceMethod parameters in org.apache.wss4j.common.crypto with type arguments of type Crypto Modifier and Type Method Description static CryptoCryptoFactory. getInstance(Class<? extends Crypto> cryptoClass, Map<Object,Object> map)getInstance -
Uses of Crypto in org.apache.wss4j.common.saml
Methods in org.apache.wss4j.common.saml that return Crypto Modifier and Type Method Description CryptoSAMLCallback. getIssuerCrypto()Methods in org.apache.wss4j.common.saml with parameters of type Crypto Modifier and Type Method Description static SAMLKeyInfoSAMLUtil. getCredentialFromKeyInfo(Element keyInfoElement, SAMLKeyInfoProcessor keyInfoProcessor, Crypto sigCrypto)This method returns a SAMLKeyInfo corresponding to the credential found in the KeyInfo (DOM Element) argument.static SAMLKeyInfoSAMLUtil. getCredentialFromSubject(SamlAssertionWrapper samlAssertion, SAMLKeyInfoProcessor keyInfoProcessor, Crypto sigCrypto)Parse a SAML Assertion to obtain a SAMLKeyInfo object from the Subject of the assertionstatic SAMLKeyInfoSAMLUtil. getCredentialFromSubject(org.opensaml.saml.saml1.core.Assertion assertion, SAMLKeyInfoProcessor keyInfoProcessor, Crypto sigCrypto)Get the SAMLKeyInfo object corresponding to the credential stored in the Subject of a SAML 1.1 assertionstatic SAMLKeyInfoSAMLUtil. getCredentialFromSubject(org.opensaml.saml.saml2.core.Assertion assertion, SAMLKeyInfoProcessor keyInfoProcessor, Crypto sigCrypto)Get the SAMLKeyInfo object corresponding to the credential stored in the Subject of a SAML 2 assertionvoidSamlAssertionWrapper. parseSubject(SAMLKeyInfoProcessor keyInfoProcessor, Crypto sigCrypto)This method parses the KeyInfo of the Subject.voidSAMLCallback. setIssuerCrypto(Crypto issuerCrypto)voidSamlAssertionWrapper. signAssertion(String issuerKeyName, String issuerKeyPassword, Crypto issuerCrypto, boolean sendKeyValue)Create an enveloped signature on the assertion that has been created.voidSamlAssertionWrapper. signAssertion(String issuerKeyName, String issuerKeyPassword, Crypto issuerCrypto, boolean sendKeyValue, String canonicalizationAlgorithm, String signatureAlgorithm)Create an enveloped signature on the assertion that has been created.voidSamlAssertionWrapper. 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.voidSamlAssertionWrapper. verifySignature(SAMLKeyInfoProcessor keyInfoProcessor, Crypto sigCrypto)Verify the signature of this assertion -
Uses of Crypto in org.apache.wss4j.common.token
Methods in org.apache.wss4j.common.token with parameters of type Crypto Modifier and Type Method Description X509Certificate[]SecurityTokenReference. getKeyIdentifier(Crypto crypto)Gets the KeyIdentifier.X509CertificateX509Security. 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.X509CertificateSecurityTokenReference. getX509SKIAlias(Crypto crypto)voidSecurityTokenReference. setKeyIdentifierSKI(X509Certificate cert, Crypto crypto)Sets the KeyIdentifier Element as a X509 Subject-Key-Identifier (SKI).voidPKIPathSecurity. setX509Certificates(X509Certificate[] certs, Crypto crypto)set the X509Certificate array. -
Uses of Crypto in org.apache.wss4j.dom
Methods in org.apache.wss4j.dom that return Crypto Modifier and Type Method Description CryptoWSDocInfo. getCrypto()Methods in org.apache.wss4j.dom with parameters of type Crypto Modifier and Type Method Description voidWSDocInfo. setCrypto(Crypto crypto) -
Uses of Crypto in org.apache.wss4j.dom.engine
Methods in org.apache.wss4j.dom.engine with parameters of type Crypto Modifier and Type Method Description WSHandlerResultWSSecurityEngine. processSecurityHeader(Document doc, String actor, CallbackHandler cb, Crypto crypto)Process the security header given the soap envelope as W3C document.WSHandlerResultWSSecurityEngine. processSecurityHeader(Document doc, String actor, CallbackHandler cb, Crypto sigVerCrypto, Crypto decCrypto)Process the security header given the soap envelope as W3C document.WSHandlerResultWSSecurityEngine. processSecurityHeader(Element securityHeader, String actor, CallbackHandler cb, Crypto sigVerCrypto, Crypto decCrypto)Process the security header given thewsse:SecurityDOM Element. -
Uses of Crypto in org.apache.wss4j.dom.handler
Fields in org.apache.wss4j.dom.handler with type parameters of type Crypto Modifier and Type Field Description protected Map<String,Crypto>WSHandler. cryptosMethods in org.apache.wss4j.dom.handler that return Crypto Modifier and Type Method Description CryptoRequestData. getDecCrypto()CryptoRequestData. getSigVerCrypto()protected CryptoWSHandler. loadCrypto(String cryptoPropertyFile, String cryptoPropertyRefId, RequestData requestData)Load a Crypto instance.protected CryptoWSHandler. loadCryptoFromPropertiesFile(String propFilename, RequestData reqData)A hook to allow subclass to load Crypto instances from property files in a different way.protected CryptoWSHandler. loadDecryptionCrypto(RequestData requestData)Hook to allow subclasses to load their Decryption Crypto however they see fit.protected CryptoWSHandler. loadEncryptionCrypto(RequestData requestData)Hook to allow subclasses to load their Encryption Crypto however they see fit.CryptoWSHandler. loadSignatureCrypto(RequestData requestData)Hook to allow subclasses to load their Signature creation Crypto however they see fit.CryptoWSHandler. loadSignatureVerificationCrypto(RequestData requestData)Hook to allow subclasses to load their Signature verification Crypto however they see fit.Methods in org.apache.wss4j.dom.handler with parameters of type Crypto Modifier and Type Method Description voidRequestData. setDecCrypto(Crypto decCrypto)voidRequestData. setSigVerCrypto(Crypto sigVerCrypto) -
Uses of Crypto in org.apache.wss4j.dom.message
Methods in org.apache.wss4j.dom.message with parameters of type Crypto Modifier and Type Method Description DocumentWSSecEncrypt. build(Crypto crypto, SecretKey symmetricKey)Builds the SOAP envelope with encrypted Body and adds encrypted key.DocumentWSSecSignature. build(Crypto cr)Builds a signed soap envelope.protected voidWSSecEncryptedKey. createEncryptedKeyElement(X509Certificate remoteCert, Crypto crypto)Now we need to setup the EncryptedKey header block: 1) create a EncryptedKey element and set a wsu:Id for it 2) Generate ds:KeyInfo element, this wraps the wsse:SecurityTokenReference 3) Create and set up the SecurityTokenReference according to the keyIdentifier parameter 4) Create the CipherValue element structure and insert the encrypted session keyvoidWSSecEncrypt. prepare(Crypto crypto, SecretKey symmetricKey)Initialize a WSSec Encrypt.voidWSSecEncryptedKey. prepare(Crypto crypto, SecretKey symmetricKey)Create the EncryptedKey Element for inclusion in the security header, by encrypting the symmetricKey parameter using either a public key or certificate that is set on the class, and adding the encrypted bytes as the CipherValue of the EncryptedKey element.voidWSSecSecurityContextToken. prepare(Crypto crypto)voidWSSecSignature. prepare(Crypto cr)Initialize a WSSec Signature.voidWSSecDerivedKeyBase. setCrypto(Crypto crypto) -
Uses of Crypto in org.apache.wss4j.dom.saml
Methods in org.apache.wss4j.dom.saml with parameters of type Crypto Modifier and Type Method Description DocumentWSSecSignatureSAML. build(Crypto uCrypto, SamlAssertionWrapper samlAssertion, Crypto iCrypto, String iKeyName, String iKeyPW)Builds a signed soap envelope with SAML token.voidWSSecSignatureSAML. prepare(Crypto uCrypto, SamlAssertionWrapper samlAssertion, Crypto iCrypto, String iKeyName, String iKeyPW)Initialize a WSSec SAML Signature. -
Uses of Crypto in org.apache.wss4j.dom.validate
Methods in org.apache.wss4j.dom.validate that return Crypto Modifier and Type Method Description protected CryptoSignatureTrustValidator. getCrypto(RequestData data)Methods in org.apache.wss4j.dom.validate with parameters of type Crypto Modifier and Type Method Description protected voidSignatureTrustValidator. validatePublicKey(PublicKey publicKey, Crypto crypto)Validate a public keyprotected voidSignatureTrustValidator. verifyTrustInCerts(X509Certificate[] certificates, Crypto crypto, RequestData data, boolean enableRevocation)Evaluate whether the given certificate chain should be trusted. -
Uses of Crypto in org.apache.wss4j.stax.ext
Methods in org.apache.wss4j.stax.ext that return Crypto Modifier and Type Method Description CryptoWSSSecurityProperties. getDecryptionCrypto()returns the decryptionCrypto for the key-managementCryptoWSSSecurityProperties. getEncryptionCrypto()returns the encryptionCrypto for the key-managementCryptoWSSSecurityProperties. getSignatureCrypto()CryptoWSSSecurityProperties. getSignatureVerificationCrypto()Methods in org.apache.wss4j.stax.ext with parameters of type Crypto Modifier and Type Method Description voidWSSSecurityProperties. setDecryptionCrypto(Crypto decCrypto)voidWSSSecurityProperties. setEncryptionCrypto(Crypto encCrypto)voidWSSSecurityProperties. setSignatureCrypto(Crypto sigCrypto)voidWSSSecurityProperties. setSignatureVerificationCrypto(Crypto sigVerCrypto) -
Uses of Crypto in org.apache.wss4j.stax.impl.securityToken
Methods in org.apache.wss4j.stax.impl.securityToken that return Crypto Modifier and Type Method Description protected CryptoX509SecurityTokenImpl. getCrypto()Methods in org.apache.wss4j.stax.impl.securityToken with parameters of type Crypto Modifier and Type Method Description static org.apache.xml.security.stax.securityToken.InboundSecurityTokenSecurityTokenFactoryImpl. getSecurityToken(SecurityTokenReferenceType securityTokenReferenceType, Crypto crypto, CallbackHandler callbackHandler, org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext, WSSSecurityProperties securityProperties)static org.apache.xml.security.stax.securityToken.InboundSecurityTokenSecurityTokenFactoryImpl. getSecurityToken(org.apache.xml.security.binding.xmldsig.KeyValueType keyValueType, Crypto crypto, CallbackHandler callbackHandler, org.apache.xml.security.stax.ext.SecurityContext securityContext, WSSSecurityProperties securityProperties)protected voidX509SecurityTokenImpl. setCrypto(Crypto crypto)Constructors in org.apache.wss4j.stax.impl.securityToken with parameters of type Crypto Constructor Description 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, CallbackHandler callbackHandler, WSSSecurityProperties securityProperties)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) -
Uses of Crypto in org.apache.wss4j.stax.validate
Methods in org.apache.wss4j.stax.validate that return Crypto Modifier and Type Method Description protected CryptoBinarySecurityTokenValidatorImpl. getCrypto(WSSSecurityProperties securityProperties)
-