javax.crypto
35 classes of the module java.base.
Load them with:
using {
"javax.crypto"
}
AEADBadTagException#
class · extends BadPaddingException · javax.crypto.AEADBadTagException
Constructors
new AEADBadTagException() |
new AEADBadTagException(String msg) |
Ring: new AEADBadTagException(args) uses the constructor with the fewest parameters (at least one); new AEADBadTagException makes the object with the constructor without parameters; the others: (new AEADBadTagException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BadPaddingException are inherited.
BadPaddingException#
class · extends GeneralSecurityException · javax.crypto.BadPaddingException
Constructors
new BadPaddingException() |
new BadPaddingException(String msg) |
Ring: new BadPaddingException(args) uses the constructor with the fewest parameters (at least one); new BadPaddingException makes the object with the constructor without parameters; the others: (new BadPaddingException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
Cipher#
class · extends Object · javax.crypto.Cipher
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ENCRYPT_MODE | int | constant · static | o.ENCRYPT_MODE |
DECRYPT_MODE | int | constant · static | o.DECRYPT_MODE |
WRAP_MODE | int | constant · static | o.WRAP_MODE |
UNWRAP_MODE | int | constant · static | o.UNWRAP_MODE |
PUBLIC_KEY | int | constant · static | o.PUBLIC_KEY |
PRIVATE_KEY | int | constant · static | o.PRIVATE_KEY |
SECRET_KEY | int | constant · static | o.SECRET_KEY |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@doFinal | @doFinal(input)@doFinal([output,outputOffset])@doFinal([ :output = v, :outputOffset = v ])@doFinal([input,inputOffset,inputLen])@doFinal([ :input = v, :inputOffset = v, :inputLen = v ])@doFinal([input,inputOffset,inputLen,output])@doFinal([ :input = v, :inputOffset = v, :inputLen = v, :output = v ])@doFinal([input,inputOffset,inputLen,output,outputOffset])@doFinal([ :input = v, :inputOffset = v, :inputLen = v, :output = v, :outputOffset = v ]) | byte[] doFinal(byte[] input)int doFinal(byte[] output, int outputOffset)int doFinal(ByteBuffer input, ByteBuffer output)byte[] doFinal(byte[] input, int inputOffset, int inputLen)int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) |
@init | @init([opmode,key])@init([ :opmode = v, :key = v ])@init([opmode,key,params])@init([ :opmode = v, :key = v, :params = v ])@init([opmode,key,params,random])@init([ :opmode = v, :key = v, :params = v, :random = v ]) | void init(int opmode, Key key)void init(int opmode, Certificate certificate)void init(int opmode, Key key, AlgorithmParameters params)void init(int opmode, Key key, AlgorithmParameterSpec params)void init(int opmode, Key key, SecureRandom random)void init(int opmode, Certificate certificate, SecureRandom random)void init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)void init(int opmode, Key key, AlgorithmParameters params, SecureRandom random) |
doFinal | doFinal() | byte[] doFinal() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getBlockSize | getBlockSize() | int getBlockSize() |
getExemptionMechanism | getExemptionMechanism() | ExemptionMechanism getExemptionMechanism() |
getInstance | getInstance(transformation)getInstance([transformation,provider])getInstance([ :transformation = v, :provider = v ]) | static Cipher getInstance(String transformation)static Cipher getInstance(String transformation, Provider provider)static Cipher getInstance(String transformation, String provider) |
getIV | getIV() | byte[] getIV() |
getMaxAllowedKeyLength | getMaxAllowedKeyLength(transformation) | static int getMaxAllowedKeyLength(String transformation) |
getMaxAllowedParameterSpec | getMaxAllowedParameterSpec(transformation) | static AlgorithmParameterSpec getMaxAllowedParameterSpec(String transformation) |
getOutputSize | getOutputSize(inputLen) | int getOutputSize(int inputLen) |
getParameters | getParameters() | AlgorithmParameters getParameters() |
getProvider | getProvider() | Provider getProvider() |
unwrap | unwrap(wrappedKey,wrappedKeyAlgorithm,wrappedKeyType) | Key unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) |
update | update(input)update([input,output])update([ :input = v, :output = v ])update([input,inputOffset,inputLen])update([ :input = v, :inputOffset = v, :inputLen = v ])update([input,inputOffset,inputLen,output])update([ :input = v, :inputOffset = v, :inputLen = v, :output = v ])update([input,inputOffset,inputLen,output,outputOffset])update([ :input = v, :inputOffset = v, :inputLen = v, :output = v, :outputOffset = v ]) | byte[] update(byte[] input)int update(ByteBuffer input, ByteBuffer output)byte[] update(byte[] input, int inputOffset, int inputLen)int update(byte[] input, int inputOffset, int inputLen, byte[] output)int update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) |
updateAAD | updateAAD(src)updateAAD([src,offset,len])updateAAD([ :src = v, :offset = v, :len = v ]) | void updateAAD(byte[] src)void updateAAD(ByteBuffer src)void updateAAD(byte[] src, int offset, int len) |
wrap | wrap(key) | byte[] wrap(Key key) |
The methods and fields of Object are inherited.
CipherInputStream#
class · extends FilterInputStream · javax.crypto.CipherInputStream
Constructors
new CipherInputStream(InputStream is, Cipher c) |
Ring: new CipherInputStream(args) uses the constructor with the fewest parameters (at least one); new CipherInputStream makes the object with the constructor without parameters; the others: (new CipherInputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of FilterInputStream are inherited.
CipherOutputStream#
class · extends FilterOutputStream · javax.crypto.CipherOutputStream
Constructors
new CipherOutputStream(OutputStream os, Cipher c) |
Ring: new CipherOutputStream(args) uses the constructor with the fewest parameters (at least one); new CipherOutputStream makes the object with the constructor without parameters; the others: (new CipherOutputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of FilterOutputStream are inherited.
CipherSpi#
abstract · extends Object · javax.crypto.CipherSpi
The methods and fields of Object are inherited.
DecapsulateException#
class · extends GeneralSecurityException · javax.crypto.DecapsulateException
Constructors
new DecapsulateException(String message) |
new DecapsulateException(String message, Throwable cause) |
Ring: new DecapsulateException(args) uses the constructor with the fewest parameters (at least one); new DecapsulateException makes the object with the constructor without parameters; the others: (new DecapsulateException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
EncryptedPrivateKeyInfo#
class · extends Object · javax.crypto.EncryptedPrivateKeyInfo
Implements: DEREncodable
Constructors
new EncryptedPrivateKeyInfo(byte[] encoded) |
new EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData) |
new EncryptedPrivateKeyInfo(String algName, byte[] encryptedData) |
Ring: new EncryptedPrivateKeyInfo(args) uses the constructor with the fewest parameters (at least one); new EncryptedPrivateKeyInfo makes the object with the constructor without parameters; the others: (new EncryptedPrivateKeyInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
encryptKey | encryptKey([key,password])encryptKey([ :key = v, :password = v ])encryptKey([key,password,algorithm,params,provider])encryptKey([ :key = v, :password = v, :algorithm = v, :params = v, :provider = v ])encryptKey([key,encKey,algorithm,params,provider,random])encryptKey([ :key = v, :encKey = v, :algorithm = v, :params = v, :provider = v, :random = v ]) | static EncryptedPrivateKeyInfo encryptKey(PrivateKey key, char[] password)static EncryptedPrivateKeyInfo encryptKey(PrivateKey key, char[] password, String algorithm, AlgorithmParameterSpec params, Provider provider)static EncryptedPrivateKeyInfo encryptKey(PrivateKey key, Key encKey, String algorithm, AlgorithmParameterSpec params, Provider provider, SecureRandom random) |
getAlgName | getAlgName() | String getAlgName() |
getAlgParameters | getAlgParameters() | AlgorithmParameters getAlgParameters() |
getEncoded | getEncoded() | byte[] getEncoded() |
getEncryptedData | getEncryptedData() | byte[] getEncryptedData() |
getKey | getKey(password)getKey([decryptKey,provider])getKey([ :decryptKey = v, :provider = v ]) | PrivateKey getKey(char[] password)PrivateKey getKey(Key decryptKey, Provider provider) |
getKeySpec | getKeySpec(decryptKey)getKeySpec([decryptKey,provider])getKeySpec([ :decryptKey = v, :provider = v ]) | PKCS8EncodedKeySpec getKeySpec(Key decryptKey)PKCS8EncodedKeySpec getKeySpec(Cipher cipher)PKCS8EncodedKeySpec getKeySpec(Key decryptKey, Provider provider)PKCS8EncodedKeySpec getKeySpec(Key decryptKey, String providerName) |
The methods and fields of Object are inherited.
ExemptionMechanism#
class · extends Object · javax.crypto.ExemptionMechanism
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@genExemptionBlob | @genExemptionBlob(output)@genExemptionBlob([output,outputOffset])@genExemptionBlob([ :output = v, :outputOffset = v ]) | int genExemptionBlob(byte[] output)int genExemptionBlob(byte[] output, int outputOffset) |
@init | @init(key)@init([key,params])@init([ :key = v, :params = v ]) | void init(Key key)void init(Key key, AlgorithmParameterSpec params)void init(Key key, AlgorithmParameters params) |
genExemptionBlob | genExemptionBlob() | byte[] genExemptionBlob() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static ExemptionMechanism getInstance(String algorithm)static ExemptionMechanism getInstance(String algorithm, String provider)static ExemptionMechanism getInstance(String algorithm, Provider provider) |
getName | getName() | String getName() |
getOutputSize | getOutputSize(inputLen) | int getOutputSize(int inputLen) |
getProvider | getProvider() | Provider getProvider() |
isCryptoAllowed | isCryptoAllowed(key) | boolean isCryptoAllowed(Key key) |
The methods and fields of Object are inherited.
ExemptionMechanismException#
class · extends GeneralSecurityException · javax.crypto.ExemptionMechanismException
Constructors
new ExemptionMechanismException() |
new ExemptionMechanismException(String msg) |
Ring: new ExemptionMechanismException(args) uses the constructor with the fewest parameters (at least one); new ExemptionMechanismException makes the object with the constructor without parameters; the others: (new ExemptionMechanismException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
ExemptionMechanismSpi#
abstract · extends Object · javax.crypto.ExemptionMechanismSpi
The methods and fields of Object are inherited.
IllegalBlockSizeException#
class · extends GeneralSecurityException · javax.crypto.IllegalBlockSizeException
Constructors
new IllegalBlockSizeException() |
new IllegalBlockSizeException(String msg) |
Ring: new IllegalBlockSizeException(args) uses the constructor with the fewest parameters (at least one); new IllegalBlockSizeException makes the object with the constructor without parameters; the others: (new IllegalBlockSizeException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
KDF#
class final · extends Object · javax.crypto.KDF
Methods
| Method | Ring call | Java overloads |
|---|---|---|
deriveData | deriveData(derivationSpec) | byte[] deriveData(AlgorithmParameterSpec derivationSpec) |
deriveKey | deriveKey(alg,derivationSpec) | SecretKey deriveKey(String alg, AlgorithmParameterSpec derivationSpec) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ])getInstance([algorithm,kdfParameters,provider])getInstance([ :algorithm = v, :kdfParameters = v, :provider = v ]) | static KDF getInstance(String algorithm)static KDF getInstance(String algorithm, String provider)static KDF getInstance(String algorithm, Provider provider)static KDF getInstance(String algorithm, KDFParameters kdfParameters)static KDF getInstance(String algorithm, KDFParameters kdfParameters, String provider)static KDF getInstance(String algorithm, KDFParameters kdfParameters, Provider provider) |
getParameters | getParameters() | KDFParameters getParameters() |
getProviderName | getProviderName() | String getProviderName() |
The methods and fields of Object are inherited.
KDFParameters#
interface · javax.crypto.KDFParameters
KDFSpi#
abstract · extends Object · javax.crypto.KDFSpi
The methods and fields of Object are inherited.
KEM#
class final · extends Object · javax.crypto.KEM
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static KEM getInstance(String algorithm)static KEM getInstance(String algorithm, Provider provider)static KEM getInstance(String algorithm, String provider) |
newDecapsulator | newDecapsulator(privateKey)newDecapsulator([privateKey,spec])newDecapsulator([ :privateKey = v, :spec = v ]) | Decapsulator newDecapsulator(PrivateKey privateKey)Decapsulator newDecapsulator(PrivateKey privateKey, AlgorithmParameterSpec spec) |
newEncapsulator | newEncapsulator(publicKey)newEncapsulator([publicKey,secureRandom])newEncapsulator([ :publicKey = v, :secureRandom = v ])newEncapsulator([publicKey,spec,secureRandom])newEncapsulator([ :publicKey = v, :spec = v, :secureRandom = v ]) | Encapsulator newEncapsulator(PublicKey publicKey)Encapsulator newEncapsulator(PublicKey publicKey, SecureRandom secureRandom)Encapsulator newEncapsulator(PublicKey publicKey, AlgorithmParameterSpec spec, SecureRandom secureRandom) |
The methods and fields of Object are inherited.
KEMDecapsulator#
class final · extends Object · javax.crypto.KEM$Decapsulator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
decapsulate | decapsulate(encapsulation)decapsulate([encapsulation,from,to,algorithm])decapsulate([ :encapsulation = v, :from = v, :to = v, :algorithm = v ]) | SecretKey decapsulate(byte[] encapsulation)SecretKey decapsulate(byte[] encapsulation, int from, int to, String algorithm) |
encapsulationSize | encapsulationSize() | int encapsulationSize() |
providerName | providerName() | String providerName() |
secretSize | secretSize() | int secretSize() |
The methods and fields of Object are inherited.
KEMEncapsulated#
class final · extends Object · javax.crypto.KEM$Encapsulated
Constructors
new KEMEncapsulated(SecretKey key, byte[] encapsulation, byte[] params) |
Ring: new KEMEncapsulated(args) uses the constructor with the fewest parameters (at least one); new KEMEncapsulated makes the object with the constructor without parameters; the others: (new KEMEncapsulated).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
encapsulation | encapsulation() | byte[] encapsulation() |
key | key() | SecretKey key() |
params | params() | byte[] params() |
The methods and fields of Object are inherited.
KEMEncapsulator#
class final · extends Object · javax.crypto.KEM$Encapsulator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@encapsulate | @encapsulate([from,to,algorithm])@encapsulate([ :from = v, :to = v, :algorithm = v ]) | Encapsulated encapsulate(int from, int to, String algorithm) |
encapsulate | encapsulate() | Encapsulated encapsulate() |
encapsulationSize | encapsulationSize() | int encapsulationSize() |
providerName | providerName() | String providerName() |
secretSize | secretSize() | int secretSize() |
The methods and fields of Object are inherited.
KEMSpi#
interface · javax.crypto.KEMSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
engineNewDecapsulator | engineNewDecapsulator(privateKey,spec) | DecapsulatorSpi engineNewDecapsulator(PrivateKey privateKey, AlgorithmParameterSpec spec) |
engineNewEncapsulator | engineNewEncapsulator(publicKey,spec,secureRandom) | EncapsulatorSpi engineNewEncapsulator(PublicKey publicKey, AlgorithmParameterSpec spec, SecureRandom secureRandom) |
KEMSpiDecapsulatorSpi#
interface · javax.crypto.KEMSpi$DecapsulatorSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
engineDecapsulate | engineDecapsulate(encapsulation,from,to,algorithm) | SecretKey engineDecapsulate(byte[] encapsulation, int from, int to, String algorithm) |
engineEncapsulationSize | engineEncapsulationSize() | int engineEncapsulationSize() |
engineSecretSize | engineSecretSize() | int engineSecretSize() |
KEMSpiEncapsulatorSpi#
interface · javax.crypto.KEMSpi$EncapsulatorSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
engineEncapsulate | engineEncapsulate(from,to,algorithm) | Encapsulated engineEncapsulate(int from, int to, String algorithm) |
engineEncapsulationSize | engineEncapsulationSize() | int engineEncapsulationSize() |
engineSecretSize | engineSecretSize() | int engineSecretSize() |
KeyAgreement#
class · extends Object · javax.crypto.KeyAgreement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@generateSecret | @generateSecret(algorithm)@generateSecret([sharedSecret,offset])@generateSecret([ :sharedSecret = v, :offset = v ]) | SecretKey generateSecret(String algorithm)int generateSecret(byte[] sharedSecret, int offset) |
@init | @init(key)@init([key,random])@init([ :key = v, :random = v ])@init([key,params,random])@init([ :key = v, :params = v, :random = v ]) | void init(Key key)void init(Key key, SecureRandom random)void init(Key key, AlgorithmParameterSpec params)void init(Key key, AlgorithmParameterSpec params, SecureRandom random) |
doPhase | doPhase(key,lastPhase) | Key doPhase(Key key, boolean lastPhase) |
generateSecret | generateSecret() | byte[] generateSecret() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static KeyAgreement getInstance(String algorithm)static KeyAgreement getInstance(String algorithm, Provider provider)static KeyAgreement getInstance(String algorithm, String provider) |
getProvider | getProvider() | Provider getProvider() |
The methods and fields of Object are inherited.
KeyAgreementSpi#
abstract · extends Object · javax.crypto.KeyAgreementSpi
The methods and fields of Object are inherited.
KeyGenerator#
class · extends Object · javax.crypto.KeyGenerator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@init | @init(keysize)@init([keysize,random])@init([ :keysize = v, :random = v ]) | void init(int keysize)void init(AlgorithmParameterSpec params)void init(SecureRandom random)void init(int keysize, SecureRandom random)void init(AlgorithmParameterSpec params, SecureRandom random) |
generateKey | generateKey() | SecretKey generateKey() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static KeyGenerator getInstance(String algorithm)static KeyGenerator getInstance(String algorithm, String provider)static KeyGenerator getInstance(String algorithm, Provider provider) |
getProvider | getProvider() | Provider getProvider() |
The methods and fields of Object are inherited.
KeyGeneratorSpi#
abstract · extends Object · javax.crypto.KeyGeneratorSpi
The methods and fields of Object are inherited.
Mac#
class · extends Object · javax.crypto.Mac
Implements: Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@doFinal | @doFinal(input)@doFinal([output,outOffset])@doFinal([ :output = v, :outOffset = v ]) | byte[] doFinal(byte[] input)void doFinal(byte[] output, int outOffset) |
@init | @init(key)@init([key,params])@init([ :key = v, :params = v ]) | void init(Key key)void init(Key key, AlgorithmParameterSpec params) |
clone | clone() | Object clone() |
doFinal | doFinal() | byte[] doFinal() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static Mac getInstance(String algorithm)static Mac getInstance(String algorithm, String provider)static Mac getInstance(String algorithm, Provider provider) |
getMacLength | getMacLength() | int getMacLength() |
getProvider | getProvider() | Provider getProvider() |
reset | reset() | void reset() |
update | update(input)update([input,offset,len])update([ :input = v, :offset = v, :len = v ]) | void update(byte[] input)void update(ByteBuffer input)void update(byte input)void update(byte[] input, int offset, int len) |
The methods and fields of Object are inherited.
MacSpi#
abstract · extends Object · javax.crypto.MacSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
The methods and fields of Object are inherited.
NoSuchPaddingException#
class · extends GeneralSecurityException · javax.crypto.NoSuchPaddingException
Constructors
new NoSuchPaddingException() |
new NoSuchPaddingException(String msg) |
Ring: new NoSuchPaddingException(args) uses the constructor with the fewest parameters (at least one); new NoSuchPaddingException makes the object with the constructor without parameters; the others: (new NoSuchPaddingException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
NullCipher#
class · extends Cipher · javax.crypto.NullCipher
Constructors
new NullCipher() |
Ring: new NullCipher(args) uses the constructor with the fewest parameters (at least one); new NullCipher makes the object with the constructor without parameters; the others: (new NullCipher).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Cipher are inherited.
SealedObject#
class · extends Object · javax.crypto.SealedObject
Implements: Serializable
Constructors
new SealedObject(Serializable object, Cipher c) |
Ring: new SealedObject(args) uses the constructor with the fewest parameters (at least one); new SealedObject makes the object with the constructor without parameters; the others: (new SealedObject).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getObject | getObject(key)getObject([key,provider])getObject([ :key = v, :provider = v ]) | Object getObject(Key key)Object getObject(Cipher c)Object getObject(Key key, String provider) |
The methods and fields of Object are inherited.
SecretKey#
interface · javax.crypto.SecretKey
Extends: Key, Destroyable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
isDestroyed | isDestroyed() | boolean isDestroyed() |
SecretKeyFactory#
class · extends Object · javax.crypto.SecretKeyFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
generateSecret | generateSecret(keySpec) | SecretKey generateSecret(KeySpec keySpec) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static SecretKeyFactory getInstance(String algorithm)static SecretKeyFactory getInstance(String algorithm, String provider)static SecretKeyFactory getInstance(String algorithm, Provider provider) |
getKeySpec | getKeySpec(key,keySpec) | KeySpec getKeySpec(SecretKey key, Class keySpec) |
getProvider | getProvider() | Provider getProvider() |
translateKey | translateKey(key) | SecretKey translateKey(SecretKey key) |
The methods and fields of Object are inherited.
SecretKeyFactorySpi#
abstract · extends Object · javax.crypto.SecretKeyFactorySpi
The methods and fields of Object are inherited.
ShortBufferException#
class · extends GeneralSecurityException · javax.crypto.ShortBufferException
Constructors
new ShortBufferException() |
new ShortBufferException(String msg) |
Ring: new ShortBufferException(args) uses the constructor with the fewest parameters (at least one); new ShortBufferException makes the object with the constructor without parameters; the others: (new ShortBufferException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.