Uses of Class
org.owasp.esapi.crypto.CipherText
-
Packages that use CipherText Package Description org.owasp.esapi The ESAPI interfaces andExceptionclasses model the most important security functions to enterprise web applications.org.owasp.esapi.crypto This package contains ESAPI cryptography-related classes used throughout ESAPI.org.owasp.esapi.reference.crypto This package contains the reference implementation for some of the ESAPI cryptography-related classes used throughout ESAPI. -
-
Uses of CipherText in org.owasp.esapi
Methods in org.owasp.esapi that return CipherText Modifier and Type Method Description CipherTextEncryptor. encrypt(javax.crypto.SecretKey key, PlainText plaintext)Encrypts the provided plaintext bytes using the cipher transformation specified by the propertyEncryptor.CipherTransformationas defined in theESAPI.propertiesfile and the specified secret key.CipherTextEncryptor. encrypt(PlainText plaintext)Encrypts the provided plaintext bytes using the cipher transformation specified by the propertyEncryptor.CipherTransformationand the master encryption key as specified by the propertyEncryptor.MasterKeyas defined in theESAPI.propertiesfile.Methods in org.owasp.esapi with parameters of type CipherText Modifier and Type Method Description PlainTextEncryptor. decrypt(javax.crypto.SecretKey key, CipherText ciphertext)Decrypts the providedCipherTextusing the information from it and the specified secret key.PlainTextEncryptor. decrypt(CipherText ciphertext)Decrypts the providedCipherTextusing the information from it and the master encryption key as specified by the propertyEncryptor.MasterKeyas defined in theESAPI.propertiesfile. -
Uses of CipherText in org.owasp.esapi.crypto
Methods in org.owasp.esapi.crypto that return CipherText Modifier and Type Method Description CipherTextCipherTextSerializer. asCipherText()Return the actualCipherTextobject.static CipherTextCipherText. fromPortableSerializedBytes(byte[] bytes)Create aCipherTextobject from what is supposed to be a portable serialized byte array, given in network byte order, that represents a valid, previously serializedCipherTextobject usingasPortableSerializedByteArray().Methods in org.owasp.esapi.crypto with parameters of type CipherText Modifier and Type Method Description static booleanCryptoHelper. isCipherTextMACvalid(javax.crypto.SecretKey sk, CipherText ct)If a Message Authentication Code (MAC) is required for the specifiedCipherTextobject, then attempt to validate the MAC that should be embedded within theCipherTextobject by using a derived key based on the specifiedSecretKey.static booleanCryptoHelper. isMACRequired(CipherText ct)Check to see if a Message Authentication Code (MAC) is required for a givenCipherTextobject and the current ESAPI.property settings.Constructors in org.owasp.esapi.crypto with parameters of type CipherText Constructor Description CipherTextSerializer(CipherText cipherTextObj) -
Uses of CipherText in org.owasp.esapi.reference.crypto
Methods in org.owasp.esapi.reference.crypto that return CipherText Modifier and Type Method Description CipherTextJavaEncryptor. encrypt(javax.crypto.SecretKey key, PlainText plain)Encrypts the provided plaintext bytes using the cipher transformation specified by the propertyEncryptor.CipherTransformationas defined in theESAPI.propertiesfile and the specified secret key.CipherTextJavaEncryptor. encrypt(PlainText plaintext)Encrypts the provided plaintext bytes using the cipher transformation specified by the propertyEncryptor.CipherTransformationand the master encryption key as specified by the propertyEncryptor.MasterKeyas defined in theESAPI.propertiesfile.Methods in org.owasp.esapi.reference.crypto with parameters of type CipherText Modifier and Type Method Description PlainTextJavaEncryptor. decrypt(javax.crypto.SecretKey key, CipherText ciphertext)Decrypts the providedCipherTextusing the information from it and the specified secret key.PlainTextJavaEncryptor. decrypt(CipherText ciphertext)Decrypts the providedCipherTextusing the information from it and the master encryption key as specified by the propertyEncryptor.MasterKeyas defined in theESAPI.propertiesfile.
-