Top Inners Constructors Methods
org.bouncycastle.jcajce.provider.symmetric

public Class SCRYPT

extends Object
Class Inheritance
Imports
java.security.spec.InvalidKeySpecException, .KeySpec, javax.crypto.SecretKey, org.bouncycastle.asn1.misc.MiscObjectIdentifiers, org.bouncycastle.crypto.CipherParameters, .PasswordConverter, org.bouncycastle.crypto.generators.SCrypt, org.bouncycastle.crypto.params.KeyParameter, org.bouncycastle.jcajce.provider.config.ConfigurableProvider, org.bouncycastle.jcajce.provider.symmetric.util.BCPBEKey, .BaseSecretKeyFactory, org.bouncycastle.jcajce.provider.util.AlgorithmProvider, org.bouncycastle.jcajce.spec.ScryptKeySpec

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SCRYPTback to summary
private SCRYPT()
org.bouncycastle.jcajce.provider.symmetric back to summary

public Class SCRYPT.BasePBKDF2

extends BaseSecretKeyFactory
Class Inheritance
Known Direct Subclasses
org.bouncycastle.jcajce.provider.symmetric.SCRYPT.ScryptWithUTF8

Field Summary

Modifier and TypeField and Description
private int
Inherited from org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory:
algNamealgOid

Constructor Summary

AccessConstructor and Description
public
BasePBKDF2(String name, int scheme)

Method Summary

Modifier and TypeMethod and Description
protected SecretKey
engineGenerateSecret(KeySpec
the specification (key material) of the secret key
keySpec
)

Overrides org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory.engineGenerateSecret.

Generates a SecretKey object from the provided key specification (key material).
Inherited from org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory:
engineGetKeySpecengineTranslateKey

Field Detail

schemeback to summary
private int scheme

Constructor Detail

BasePBKDF2back to summary
public BasePBKDF2(String name, int scheme)

Method Detail

engineGenerateSecretback to summary
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException

Overrides org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory.engineGenerateSecret.

Doc from javax.crypto.SecretKeyFactorySpi.engineGenerateSecret.

Generates a SecretKey object from the provided key specification (key material).

Parameters
keySpec:KeySpec

the specification (key material) of the secret key

Returns:SecretKey

the secret key

Exceptions
InvalidKeySpecException:
if the given key specification is inappropriate for this secret-key factory to produce a secret key.
org.bouncycastle.jcajce.provider.symmetric back to summary

public Class SCRYPT.Mappings

extends AlgorithmProvider
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void

Field Detail

PREFIXback to summary
private static final String PREFIX

Constructor Detail

Mappingsback to summary
public Mappings()

Method Detail

configureback to summary
public void configure(ConfigurableProvider provider)

Implements abstract org.bouncycastle.jcajce.provider.util.AlgorithmProvider.configure.

org.bouncycastle.jcajce.provider.symmetric back to summary

public Class SCRYPT.ScryptWithUTF8

extends BasePBKDF2
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.bouncycastle.jcajce.provider.symmetric.SCRYPT.BasePBKDF2:
engineGenerateSecret

Constructor Detail

ScryptWithUTF8back to summary
public ScryptWithUTF8()