Uses of Interface
org.apache.wss4j.common.crypto.Crypto
Packages that use Crypto
Package
Description
-
Uses of Crypto in org.apache.cxf.sts
Methods in org.apache.cxf.sts that return CryptoModifier and TypeMethodDescriptionStaticSTSProperties.getEncryptionCrypto()Get the encryption Crypto objectSTSPropertiesMBean.getEncryptionCrypto()Get the encryption Crypto objectStaticSTSProperties.getSignatureCrypto()Get the signature Crypto objectSTSPropertiesMBean.getSignatureCrypto()Get the signature Crypto objectMethods in org.apache.cxf.sts with parameters of type CryptoModifier and TypeMethodDescriptionvoidStaticSTSProperties.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 CryptoModifier and TypeMethodDescriptionprotected 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 CryptoModifier and TypeMethodDescriptionRealmProperties.getSignatureCrypto()Get the signature Crypto objectMethods in org.apache.cxf.sts.token.realm with parameters of type CryptoModifier and TypeMethodDescriptionvoidRealmProperties.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 CryptoMethods in org.apache.cxf.ws.security.tokenstore with parameters of type CryptoModifier and TypeMethodDescriptionvoidSecurityToken.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 CryptoModifier and TypeMethodDescriptionprotected CryptoAbstractSTSClient.createCrypto(boolean decrypt) AbstractSTSClient.STSResponse.getCrypto()Methods in org.apache.cxf.ws.security.trust with parameters of type CryptoConstructors in org.apache.cxf.ws.security.trust with parameters of type CryptoModifierConstructorDescriptionSTSResponse(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 CryptoModifier and TypeMethodDescriptionprotected 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 CryptoModifier and TypeMethodDescriptionprotected CryptoAbstractBindingBuilder.getEncryptionCrypto()AbstractBindingBuilder.getSignatureCrypto()Methods in org.apache.cxf.ws.security.wss4j.policyhandlers that return types with arguments of type CryptoMethods in org.apache.cxf.ws.security.wss4j.policyhandlers with parameters of type CryptoModifier and TypeMethodDescriptionAbstractBindingBuilder.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 CryptoModifier and TypeMethodDescriptionSecurityActionToken.getCrypto()SignatureEncryptionActionToken.getCrypto()Methods in org.apache.wss4j.common with parameters of type Crypto -
Uses of Crypto in org.apache.wss4j.common.crypto
Classes in org.apache.wss4j.common.crypto that implement CryptoModifier and TypeClassDescriptionclassA Crypto implementation based on a simple array of X509Certificate(s).classThis Abstract Base Class implements the accessor and keystore-independent methods and functionality of the Crypto interface.classA Crypto implementation based on two Java KeyStore objects, one being the keystore, and one being the truststore.classA Crypto implementation based on two Java KeyStore objects, one being the keystore, and one being the truststore.classA 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 CryptoModifier and TypeMethodDescriptionstatic CryptoCryptoFactory.getInstance()getInstancestatic CryptogetInstancestatic 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 -
Uses of Crypto in org.apache.wss4j.common.saml
Methods in org.apache.wss4j.common.saml that return CryptoMethods in org.apache.wss4j.common.saml with parameters of type CryptoModifier and TypeMethodDescriptionstatic 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 CryptoModifier and TypeMethodDescriptionSecurityTokenReference.getKeyIdentifier(Crypto crypto) Gets the KeyIdentifier.X509Security.getX509Certificate(Crypto crypto) Gets the X509Certificate certificate.PKIPathSecurity.getX509Certificates(Crypto crypto) get the X509Certificate array.SecurityTokenReference.getX509IssuerSerial(Crypto crypto) Gets the certificate identified with X509 issuerSerial data.SecurityTokenReference.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 CryptoMethods in org.apache.wss4j.dom with parameters of type Crypto -
Uses of Crypto in org.apache.wss4j.dom.engine
Methods in org.apache.wss4j.dom.engine with parameters of type CryptoModifier and TypeMethodDescriptionWSSecurityEngine.processSecurityHeader(Document doc, String actor, CallbackHandler cb, Crypto crypto) Process the security header given the soap envelope as W3C document.WSSecurityEngine.processSecurityHeader(Document doc, String actor, CallbackHandler cb, Crypto sigVerCrypto, Crypto decCrypto) Process the security header given the soap envelope as W3C document.WSSecurityEngine.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 CryptoMethods in org.apache.wss4j.dom.handler that return CryptoModifier and TypeMethodDescriptionRequestData.getDecCrypto()RequestData.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.WSHandler.loadSignatureCrypto(RequestData requestData) Hook to allow subclasses to load their Signature creation Crypto however they see fit.WSHandler.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 CryptoModifier and TypeMethodDescriptionvoidRequestData.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 CryptoModifier and TypeMethodDescriptionBuilds the SOAP envelope with encrypted Body and adds encrypted key.Builds a signed soap envelope.protected voidWSSecEncryptedKey.createEncryptedKeyElement(X509Certificate remoteCert, Crypto crypto, org.apache.xml.security.encryption.params.KeyAgreementParameters dhSpec) 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 keyvoidInitialize a WSSec Encrypt.voidCreate 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.voidvoidInitialize a WSSec Signature.void -
Uses of Crypto in org.apache.wss4j.dom.saml
Methods in org.apache.wss4j.dom.saml with parameters of type CryptoModifier and TypeMethodDescriptionWSSecSignatureSAML.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 CryptoModifier and TypeMethodDescriptionprotected CryptoSignatureTrustValidator.getCrypto(RequestData data) Methods in org.apache.wss4j.dom.validate with parameters of type CryptoModifier and TypeMethodDescriptionprotected 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 CryptoModifier and TypeMethodDescriptionWSSSecurityProperties.getDecryptionCrypto()returns the decryptionCrypto for the key-managementWSSSecurityProperties.getEncryptionCrypto()returns the encryptionCrypto for the key-managementWSSSecurityProperties.getSignatureCrypto()WSSSecurityProperties.getSignatureVerificationCrypto()Methods in org.apache.wss4j.stax.ext with parameters of type CryptoModifier and TypeMethodDescriptionvoidWSSSecurityProperties.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 CryptoMethods in org.apache.wss4j.stax.impl.securityToken with parameters of type CryptoModifier and TypeMethodDescriptionstatic 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 voidConstructors in org.apache.wss4j.stax.impl.securityToken with parameters of type CryptoModifierConstructorDescriptionDsaKeyValueSecurityTokenImpl(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) protectedX509SecurityTokenImpl(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 CryptoModifier and TypeMethodDescriptionprotected CryptoBinarySecurityTokenValidatorImpl.getCrypto(WSSSecurityProperties securityProperties)