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

B

BASE64_FOOTER - Static variable in interface org.xwiki.crypto.x509.XWikiX509KeyPair
This will be at the end of the output from serializeAsBase64().
BASE64_HEADER - Static variable in interface org.xwiki.crypto.x509.XWikiX509KeyPair
This will be at the beginning of the output from serializeAsBase64().

C

calculateFingerprint(Certificate) - Static method in class org.xwiki.crypto.x509.XWikiX509Certificate
Calculate the fingerprint of the given certificate.
certFromPEM(String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Deserialize an X509 certificate from a PEM formatted string.
certsFromSpkac(String, int) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Creates an array of Base64 encoded DER formatted X509Certificates containing: 1.

D

decrypt(String) - Method in interface org.xwiki.crypto.passwd.PasswordCiphertext
Get the message (i.e.
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 interface org.xwiki.crypto.passwd.PasswordCryptoService
Decrypt a piece of text encrypted with encryptText.
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.

E

encryptBytes(byte[], String) - Method in interface org.xwiki.crypto.passwd.PasswordCryptoService
Encipher the given byte array 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.XWikiX509Certificate
 

F

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.

G

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.
getCertificate() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
Get the user's certificate.
getCipherClass() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getFingerprint() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
 
getFingerprint() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
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.
getKeyDerivationFunctionClassForEncryption() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyDerivationFunctionClassForPasswordVerification() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyDerivationFunctionPropertiesForEncryption() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getKeyDerivationFunctionPropertiesForPasswordVerification() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getPasswordVerificationFunctionClass() - Method in interface org.xwiki.crypto.passwd.PasswordCryptoServiceConfiguration
 
getPrivateKey(String) - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
Get the private key from the key pair.
getPublicKey() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
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).

H

hashCode() - Method in class org.xwiki.crypto.x509.XWikiX509Certificate
 

I

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.
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 interface org.xwiki.crypto.x509.X509CryptoService
Deserialize an XWikiX509KeyPair from a base64 encoded String.

M

MemoryHardKeyDerivationFunction - Interface in org.xwiki.crypto.passwd
A key memory hard derivation function.

N

newCertAndPrivateKey(int, String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Creates an XWikiX509Certificate and matching private key.

O

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

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.
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.

S

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 interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
serializeAsBase64() - Method in interface org.xwiki.crypto.x509.XWikiX509KeyPair
 
signText(String, XWikiX509KeyPair, String) - Method in interface org.xwiki.crypto.x509.X509CryptoService
Produce a pkcs#7 signature for the given text.

T

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.XWikiX509Certificate
 

V

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.
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.

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

Copyright © 2004-2013 XWiki. All Rights Reserved.