A B C D E F G H I K M N O P R S T U V X

A

AbstractKeyDerivationFunction - Class in org.xwiki.crypto.passwd.internal
The abstract key derivation function.
AbstractKeyDerivationFunction() - Constructor for class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
 
AbstractMemoryHardKeyDerivationFunction - Class in org.xwiki.crypto.passwd.internal
Abstract memory hard key derivation function.
AbstractMemoryHardKeyDerivationFunction() - Constructor for class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
 
AbstractPasswordCiphertext - Class in org.xwiki.crypto.passwd.internal
A service allowing users to encrypt and decrypt text using a password.
AbstractPasswordCiphertext() - Constructor for class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
 
AbstractX509CertificateWrapper - Class in org.xwiki.crypto.x509.internal
Wrapper class for a X509 certificate.
AbstractX509CertificateWrapper(X509Certificate) - Constructor for class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
Create new AbstractX509CertificateWrapper.
AESPasswordCiphertext - Class in org.xwiki.crypto.passwd.internal
A password ciphertext service implementing AES-128.
AESPasswordCiphertext() - Constructor for class org.xwiki.crypto.passwd.internal.AESPasswordCiphertext
 
allocateMemory(boolean) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Allocate the memory necessary to run the hash function.

B

BASE64_FOOTER - Static variable in interface org.xwiki.crypto.x509.XWikiX509KeyPair
This will be at the end of the output from XWikiX509KeyPair.serializeAsBase64().
BASE64_HEADER - Static variable in interface org.xwiki.crypto.x509.XWikiX509KeyPair
This will be at the beginning of the output from XWikiX509KeyPair.serializeAsBase64().
blockMix(byte[]) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Implementation of BlockMix.
bulkXOR(byte[], int, byte[], int, int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
XOR all bytes in two byte arrays.
bytesToIntsLittle(byte[], int[]) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Pack byte[] array into an int in little endian order.
bytesToString(byte[]) - Static method in class org.xwiki.crypto.internal.Convert
Convert byte array into a string using UTF-8 encoding.

C

calculateFingerprint(Certificate) - Static method in class org.xwiki.crypto.x509.XWikiX509Certificate
Calculate the fingerprint of the given certificate.
CAST5PasswordCiphertext - Class in org.xwiki.crypto.passwd.internal
A password ciphertext service implementing CAST5.
CAST5PasswordCiphertext() - Constructor for class org.xwiki.crypto.passwd.internal.CAST5PasswordCiphertext
 
certFromPEM(String) - Method in class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
Deserialize an X509 certificate from a PEM formatted string.
certFromPEM(String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Deserialize an X509 certificate from a PEM formatted string.
certificate - Variable in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
The actual certificate.
certsFromSpkac(String, int) - Method in class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
Creates an array of Base64 encoded DER formatted X509Certificates containing: 1.
certsFromSpkac(String, int, String, String) - Method in class org.xwiki.crypto.x509.internal.X509KeyService
 
certsFromSpkac(String, int) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Creates an array of Base64 encoded DER formatted X509Certificates containing: 1.
checkValidity() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
checkValidity(Date) - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
Convert - Class in org.xwiki.crypto.internal
Utility class for various string conversions, such as base64 encoding and decoding and conversion to byte array.
CryptoScriptService - Class in org.xwiki.crypto.internal.scripting
Script service allowing a user to sign text, determine the validity and signer of already signed text, create keys, and register new certificates.
CryptoScriptService() - Constructor for class org.xwiki.crypto.internal.scripting.CryptoScriptService
 

D

decrypt(String) - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
Get the message (i.e.
decrypt(String) - Method in interface org.xwiki.crypto.passwd.PasswordCiphertext
Get the message (i.e.
decryptBytes(byte[], String) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
Decrypt raw ciphertext created with PasswordCryptoService.encryptBytes(byte[], String).
decryptBytes(byte[], String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Decrypt raw ciphertext created with PasswordCryptoService.encryptBytes(byte[], String).
decryptText(String, String) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
Decrypt a piece of text encrypted with encryptText.
decryptText(String, String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Decrypt a piece of text encrypted with encryptText.
DefaultPasswordCryptoService - Class in org.xwiki.crypto.passwd.internal
This class allows the user to encrypt and decrypt text and data using a password.
DefaultPasswordCryptoService() - Constructor for class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
 
DefaultPasswordCryptoServiceConfiguration - Class in org.xwiki.crypto.passwd.internal
Default implementation of PasswordCryptoServiceConfiguration.
DefaultPasswordCryptoServiceConfiguration() - Constructor for class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
 
DefaultPasswordVerificationFunction - Class in org.xwiki.crypto.passwd.internal
Default password verification function wraps a key derivation function and stores the hash output.
DefaultPasswordVerificationFunction() - Constructor for class org.xwiki.crypto.passwd.internal.DefaultPasswordVerificationFunction
 
DefaultUserDocumentUtils - Class in org.xwiki.crypto.internal
Default implementation of UserDocumentUtils.
DefaultUserDocumentUtils() - Constructor for class org.xwiki.crypto.internal.DefaultUserDocumentUtils
 
DefaultX509CryptoService - Class in org.xwiki.crypto.x509.internal
Service allowing a user to sign text, determine the validity and signer of already signed text, and create keys.
DefaultX509CryptoService() - Constructor for class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
 
DefaultXWikiX509KeyPair - Class in org.xwiki.crypto.x509.internal
Wrapper for storing a PrivateKey and the corresponding XWikiX509Certificate.
DefaultXWikiX509KeyPair(X509Certificate, PrivateKey, String, PasswordCryptoService) - Constructor for class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
Create new XWikiX509KeyPair.
deriveKey(byte[]) - Method in class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
Convert the given password to a byte array similar to the output from a message digest except specially tuned for the unique requirements of protecting passwords.
deriveKey(byte[]) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Convert the given password to a byte array similar to the output from a message digest except specially tuned for the unique requirements of protecting passwords.
deriveKey(byte[]) - Method in interface org.xwiki.crypto.passwd.KeyDerivationFunction
Convert the given password to a byte array similar to the output from a message digest except specially tuned for the unique requirements of protecting passwords.
deserialize(byte[]) - Static method in class org.xwiki.crypto.internal.SerializationUtils
This method will accept a serialized version of any object defined in the system.

E

encryptBytes(byte[], String) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
Encipher the given byte array with the password.
encryptBytes(byte[], String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Encipher the given byte array with the password.
encryptText(String, String) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
Encipher the given text with the password.
encryptText(String, String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Encipher the given text with the password.
equals(Object) - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
equals(Object) - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
equals(Object) - Method in class org.xwiki.crypto.x509.XWikiX509Certificate

F

freeMemory() - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Sets the working buffers to null.
fromBase64(byte[]) - Static method in class org.xwiki.crypto.internal.Convert
Decode the base64 encoded data array.
fromBase64String(String, String, String) - Static method in class org.xwiki.crypto.internal.Convert
Decode the base64 encoded data represented as string.
fromBase64String(String) - Static method in class org.xwiki.crypto.internal.Convert
Decode the base64 encoded data represented as string.
fromBase64String(String) - Static method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
Deserialize an instance of XWikiX509KeyPair from a base-64 String, opposite of DefaultXWikiX509KeyPair.serializeAsBase64().
fromBase64String(byte[]) - Static method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
Deserialize an instance of XWikiX509KeyPair from a byte array, opposite of DefaultXWikiX509KeyPair.serialize().
fromCertificateChain(Certificate[]) - Static method in class org.xwiki.crypto.x509.XWikiX509Certificate
Convert a chain of Certificates into a chain of XWikiX509Certificates, correctly setting the issuer fingerprint.
fromPEMString(String) - Static method in class org.xwiki.crypto.x509.XWikiX509Certificate
Constructor from a PEM formatted string.
functionF(byte[], byte[], int, byte[], byte[], int) - Method in class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
PBKDF#2 internal function F.

G

generateDerivedKey(byte[], byte[], int, int) - Method in class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
Generate the PBKDF2 derived key.
getAuthorityCertificate() - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
 
getAuthorName() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
Get name of the author (subject name) of this certificate.
getAuthorUID() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
Get user name (stored as UID in the distinguished subject name) of this certificate's author, or empty string if UID is not present.
getBasicConstraints() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getCertificate() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
Get the user's certificate.
getCertificate() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
Get the user's certificate.
getCipher() - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
Get the the cipher.
getCipherClass() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
getCipherClass() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getContentBetween(String, String, String) - Static method in class org.xwiki.crypto.internal.Convert
Get substring between beginningMarker and endMarker.
getCriticalExtensionOIDs() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getCurrentUser() - Method in class org.xwiki.crypto.internal.DefaultUserDocumentUtils
getCurrentUser() - Method in interface org.xwiki.crypto.internal.UserDocumentUtils
 
getDefaultDerivedKeyLength() - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
 
getDefaultDerivedKeyLength() - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
 
getDefaultMillisecondsOfProcessorTime() - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
 
getDefaultMillisecondsOfProcessorTime() - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
 
getDefaultNumberOfKilobytesOfMemoryToUse() - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
 
getEncoded() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getExtendedKeyUsage() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getExtensionValue(String) - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getFingerprint() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
getFingerprint() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
 
getFingerprint() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
getIssuerAlternativeNames() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getIssuerDN() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getIssuerFingerprint() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
Get the fingerprint of the issuer certificate.
getIssuerName() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
Get issuer name of this certificate.
getIssuerUniqueID() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getIssuerX500Principal() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getKeyDerivationFunctionClassForEncryption() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
getKeyDerivationFunctionClassForEncryption() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyDerivationFunctionClassForPasswordVerification() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
getKeyDerivationFunctionClassForPasswordVerification() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyDerivationFunctionPropertiesForEncryption() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
getKeyDerivationFunctionPropertiesForEncryption() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyDerivationFunctionPropertiesForPasswordVerification() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
getKeyDerivationFunctionPropertiesForPasswordVerification() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyLength() - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
Get the size of the cipher key.
getKeyUsage() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getNewline() - Static method in class org.xwiki.crypto.internal.Convert
 
getNonCriticalExtensionOIDs() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getNotAfter() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getNotBefore() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getPasswd() - Method in class org.xwiki.crypto.internal.scripting.CryptoScriptService
 
getPasswordVerificationFunctionClass() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoServiceConfiguration
getPasswordVerificationFunctionClass() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getPrivateKey(String) - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
Get the private key from the key pair.
getPrivateKey(String) - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
Get the private key from the key pair.
getPublicKey() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getPublicKey() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
getPublicKey() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
getRequiredKeySize() - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
Get the length of the key which should be output by the keyFunction which is to be passed to PasswordCiphertext.init(byte[], String, KeyDerivationFunction).
getRequiredKeySize() - Method in interface org.xwiki.crypto.passwd.PasswordCiphertext
Get the length of the key which should be output by the keyFunction which is to be passed to PasswordCiphertext.init(byte[], String, KeyDerivationFunction).
getSerialNumber() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSigAlgName() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSigAlgOID() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSigAlgParams() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSignature() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSubjectAlternativeNames() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSubjectDN() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSubjectUniqueID() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getSubjectX500Principal() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getTBSCertificate() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getUserDocURL(String) - Method in class org.xwiki.crypto.internal.DefaultUserDocumentUtils
Get the external URL pointing to the given user document.
getUserDocURL(String) - Method in interface org.xwiki.crypto.internal.UserDocumentUtils
Get the external URL pointing to the given user document.
getVersion() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
getX509() - Method in class org.xwiki.crypto.internal.scripting.CryptoScriptService
 

H

hashCode() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
hashCode() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
hashCode() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
hasUnsupportedCriticalExtension() - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper

I

init() - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
Initialize with default values.
init(Properties) - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
Initialize this function with the desired key length and processor cost as a Properties The properties which will be looked for are millisecondsOfProcessorTimeToSpend and derivedKeyLength.
init(int, int) - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
Initialize this function with the desired key length and processor cost.
init(byte[], int, int) - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
Initialize the function manually.
init() - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
Initialize with default values.
init(Properties) - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
Initialize this function with the desired key length and processor cost as a Properties The properties which will be looked for are millisecondsOfProcessorTimeToSpend and derivedKeyLength.
init(int, int) - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
Initialize this function with the desired key length and processor cost.
init(byte[], String, KeyDerivationFunction) - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
Initialize this ciphertext with a given message (i.e.
init(KeyDerivationFunction, byte[]) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordVerificationFunction
Initialize this function with the desired key length.
init(byte[], int, int) - Method in class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
Initialize the function manually.
init(int, int, int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Initialize this function with the desired parameters.
init(byte[], int, int, int, int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
This is an implementation of scrypt(P, S, N, r, p, dkLen) function.
init() - Method in interface org.xwiki.crypto.passwd.KeyDerivationFunction
Initialize with default values.
init(Properties) - Method in interface org.xwiki.crypto.passwd.KeyDerivationFunction
Initialize this function with the desired key length and processor cost as a Properties The properties which will be looked for are millisecondsOfProcessorTimeToSpend and derivedKeyLength.
init(int, int) - Method in interface org.xwiki.crypto.passwd.KeyDerivationFunction
Initialize this function with the desired key length and processor cost.
init(int, int, int) - Method in interface org.xwiki.crypto.passwd.MemoryHardKeyDerivationFunction
Initialize this function with the desired parameters.
init(byte[], String, KeyDerivationFunction) - Method in interface org.xwiki.crypto.passwd.PasswordCiphertext
Initialize this ciphertext with a given message (i.e.
init(KeyDerivationFunction, byte[]) - Method in interface org.xwiki.crypto.passwd.PasswordVerificationFunction
Initialize this function with the desired key length.
integerify(byte[]) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Convert 4 bytes from a specified place in the array to a long.
integerifyAndMod(byte[], int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Convert 8 bytes from a specified place in the array to an integer and take the mod of that number against modulus.
integerToByteArray(int, byte[]) - Method in class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
Convert an integer to byte array in big-endian byte order.
intsToBytesLittle(int[], byte[]) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Convert an array of integer to an array of little endian bytes.
isPasswordCorrect(String, String) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
Check the validity of a password.
isPasswordCorrect(byte[]) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordVerificationFunction
Validate a user supplied password.
isPasswordCorrect(String, String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Check the validity of a password.
isPasswordCorrect(byte[]) - Method in interface org.xwiki.crypto.passwd.PasswordVerificationFunction
Validate a user supplied password.

K

KeyDerivationFunction - Interface in org.xwiki.crypto.passwd
A key derivation function.
keyPairFromBase64(String) - Method in class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
Deserialize an XWikiX509KeyPair from a base64 encoded String.
keyPairFromBase64(String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Deserialize an XWikiX509KeyPair from a base64 encoded String.

M

makeCertificateAuthority(KeyPair, int, String) - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
Create a new self signed X509 certificate authority certificate.
makeClientAndAuthorityCertificates(PublicKey, int, boolean, String, String) - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
Create a new X509 client certificate and a certificate authority certificate.
makeClientCertificate(PublicKey, KeyPair, int, boolean, String, String) - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
Create a new X509 client certificate.
MemoryHardKeyDerivationFunction - Interface in org.xwiki.crypto.passwd
A key memory hard derivation function.

N

newCertAndPrivateKey(int, String) - Method in class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
Creates an XWikiX509Certificate and matching private key.
newCertAndPrivateKey(int, String, String, String, PasswordCryptoService) - Method in class org.xwiki.crypto.x509.internal.X509KeyService
Create a fresh self-signed key pair.
newCertAndPrivateKey(int, String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Creates an XWikiX509Certificate and matching private key.
newCipherInstance() - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
The cipher engine.
newCipherInstance() - Method in class org.xwiki.crypto.passwd.internal.AESPasswordCiphertext
The cipher engine.
newCipherInstance() - Method in class org.xwiki.crypto.passwd.internal.CAST5PasswordCiphertext
The cipher engine.
newKeyPair() - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
 

O

org.xwiki.crypto.internal - package org.xwiki.crypto.internal
 
org.xwiki.crypto.internal.scripting - package org.xwiki.crypto.internal.scripting
 
org.xwiki.crypto.passwd - package org.xwiki.crypto.passwd
 
org.xwiki.crypto.passwd.internal - package org.xwiki.crypto.passwd.internal
 
org.xwiki.crypto.x509 - package org.xwiki.crypto.x509
 
org.xwiki.crypto.x509.internal - package org.xwiki.crypto.x509.internal
 

P

PasswordCiphertext - Interface in org.xwiki.crypto.passwd
Ciphertext represents a single password encrypted data.
PasswordCryptoService - Interface in org.xwiki.crypto.passwd
Service allowing users to encrypt and decrypt text using a password.
PasswordCryptoServiceConfiguration - Interface in org.xwiki.crypto.passwd
The configuration for the password based cryptography service.
PasswordVerificationFunction - Interface in org.xwiki.crypto.passwd
Password verification function differes from key derivation function in that password verification function stores the hashed password given it.
PBKDF2KeyDerivationFunction - Class in org.xwiki.crypto.passwd.internal
Password-Based Key Derivation Function 2.
PBKDF2KeyDerivationFunction() - Constructor for class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
Default Constructor.
PBKDF2KeyDerivationFunction(Digest) - Constructor for class org.xwiki.crypto.passwd.internal.PBKDF2KeyDerivationFunction
Constructor with digest specified.
protectPassword(String) - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordCryptoService
Hash a password with a hash function specifically designed to make password guessing attacks difficult.
protectPassword(String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Hash a password with a hash function specifically designed to make password guessing attacks difficult.

R

rotl(int, int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Rotate left.

S

salsa20Core(int[], int[], int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Salsa20 function.
ScryptMemoryHardKeyDerivationFunction - Class in org.xwiki.crypto.passwd.internal
The Scrypt Key Derivation Function.
ScryptMemoryHardKeyDerivationFunction() - Constructor for class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
 
scryptSalsa8(byte[]) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
salsa20_8 function as defined in crypto_scrypt.
SerializationUtils - Class in org.xwiki.crypto.internal
Utilities for serialization and deserialization.
serialize(T) - Static method in class org.xwiki.crypto.internal.SerializationUtils
Convert the given Object to a byte array which when passed to deserialize() will make the same Object.
serialize() - Method in class org.xwiki.crypto.passwd.internal.AbstractKeyDerivationFunction
Store this function as a byte array so another function of the same class can be initialized with the same array and will then produce the same key for the given password.
serialize() - Method in class org.xwiki.crypto.passwd.internal.AbstractMemoryHardKeyDerivationFunction
Store this function as a byte array so another function of the same class can be initialized with the same array and will then produce the same key for the given password.
serialize() - Method in class org.xwiki.crypto.passwd.internal.AbstractPasswordCiphertext
Serialize this ciphertext into a byte array which can later be deserialized and the text decrypted from that.
serialize() - Method in class org.xwiki.crypto.passwd.internal.DefaultPasswordVerificationFunction
Store this function as a byte array so another function of the same class can be initialized with the same array and will then produce the same key for the given password.
serialize() - Method in interface org.xwiki.crypto.passwd.KeyDerivationFunction
Store this function as a byte array so another function of the same class can be initialized with the same array and will then produce the same key for the given password.
serialize() - Method in interface org.xwiki.crypto.passwd.PasswordCiphertext
Serialize this ciphertext into a byte array which can later be deserialized and the text decrypted from that.
serialize() - Method in interface org.xwiki.crypto.passwd.PasswordVerificationFunction
Store this function as a byte array so another function of the same class can be initialized with the same array and will then produce the same key for the given password.
serialize() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
serialize() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
serializeAsBase64() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
serializeAsBase64() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
setAuthorityCertificate(X509Certificate) - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
If called then all future client certificates will be packaged with this certificate authority.
setAuthorityKeyPair(KeyPair) - Method in class org.xwiki.crypto.x509.internal.X509Keymaker
If called then all future client certificates will be signed with this KeyPair.
signText(String, XWikiX509KeyPair, String) - Method in class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
Produce a pkcs#7 signature for the given text.
signText(String, XWikiX509KeyPair, String) - Method in class org.xwiki.crypto.x509.internal.X509SignatureService
signText(String, XWikiX509KeyPair, String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Produce a pkcs#7 signature for the given text.
smix(byte[], int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Compute B = SMix(B, N) where B is a section of bufferToMix starting at offset and proceeding for (128 * blockSize) bytes and N is memoryExpense.
stringToBytes(String, String, String) - Static method in class org.xwiki.crypto.internal.Convert
Convert string to byte array using the same encoding as for base64 conversion.
stringToBytes(String) - Static method in class org.xwiki.crypto.internal.Convert
Convert string to byte array using the same encoding as for base64 conversion.

T

toBase64(byte[]) - Static method in class org.xwiki.crypto.internal.Convert
Encode given data and return the base64 encoded result as a byte array.
toBase64String(byte[]) - Static method in class org.xwiki.crypto.internal.Convert
Encode given data and return the base64 encoded result as string (no line breaks).
toChunkedBase64String(byte[]) - Static method in class org.xwiki.crypto.internal.Convert
Encode given data and return the base64 encoded result as string, chunking it into several lines of the default length (64).
toChunkedBase64String(byte[], int) - Static method in class org.xwiki.crypto.internal.Convert
Encode given data and return the base64 encoded result as string, chunking it into several lines of the given length.
toPEMString() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
Get the internal X509 certificate in a standard PEM format.
toString() - Method in class org.xwiki.crypto.x509.internal.DefaultXWikiX509KeyPair
toString() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate

U

unsignedMod(long, int) - Method in class org.xwiki.crypto.passwd.internal.ScryptMemoryHardKeyDerivationFunction
Compute (unsignedLong % signedModulus) quickly.
UserDocumentUtils - Interface in org.xwiki.crypto.internal
Means by which to get a string representation of the user page for the current user for inclusion in a certificate.

V

verify(PublicKey) - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
verify(PublicKey, String) - Method in class org.xwiki.crypto.x509.internal.AbstractX509CertificateWrapper
verifyText(String, String) - Method in class org.xwiki.crypto.x509.internal.DefaultX509CryptoService
Verify a pkcs#7 signature and return the certificate of the user who signed it.
verifyText(String, String) - Method in class org.xwiki.crypto.x509.internal.X509SignatureService
verifyText(String, String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Verify a pkcs#7 signature and return the certificate of the user who signed it.

X

X509CryptoService - Interface in org.xwiki.crypto.x509
Service allowing components to sign text, determine the validity and signer of already signed text, create keys, and register new certificates.
X509Keymaker - Class in org.xwiki.crypto.x509.internal
Keymaker allows you to create keypairs and X509Certificates.
X509Keymaker() - Constructor for class org.xwiki.crypto.x509.internal.X509Keymaker
 
X509KeyService - Class in org.xwiki.crypto.x509.internal
Service allowing a user to create keys and X509 certificates.
X509KeyService() - Constructor for class org.xwiki.crypto.x509.internal.X509KeyService
 
X509SignatureService - Class in org.xwiki.crypto.x509.internal
Implementation of XWikiSignature that uses PKCS7 encoding.
X509SignatureService() - Constructor for class org.xwiki.crypto.x509.internal.X509SignatureService
 
XWikiX509Certificate - Class in org.xwiki.crypto.x509
X509 certificate wrapper with several additional helper methods, aimed to be more scripting-friendly.
XWikiX509Certificate(X509Certificate) - Constructor for class org.xwiki.crypto.x509.XWikiX509Certificate
Create new XWikiX509Certificate.
XWikiX509Certificate(X509Certificate, String) - Constructor for class org.xwiki.crypto.x509.XWikiX509Certificate
Create new XWikiX509Certificate.
XWikiX509KeyPair - Interface in org.xwiki.crypto.x509
Wrapper which contains a PrivateKey and the corresponding XWikiX509Certificate.

A B C D E F G H I K M N O P R S T U V X

Copyright © 2004-2011 XWiki. All Rights Reserved.