RingJavafor Ring

javax.crypto.spec

22 classes of the module java.base.

Load them with:

using {
	"javax.crypto.spec"
}

All packages

ChaCha20ParameterSpec#

class final · extends Object · javax.crypto.spec.ChaCha20ParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new ChaCha20ParameterSpec(byte[] nonce, int counter)

Ring: new ChaCha20ParameterSpec(args) uses the constructor with the fewest parameters (at least one); new ChaCha20ParameterSpec makes the object with the constructor without parameters; the others: (new ChaCha20ParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getCountergetCounter()int getCounter()
getNoncegetNonce()byte[] getNonce()

The methods and fields of Object are inherited.

DESedeKeySpec#

class · extends Object · javax.crypto.spec.DESedeKeySpec

Implements: KeySpec

Constructors

new DESedeKeySpec(byte[] key)
new DESedeKeySpec(byte[] key, int offset)

Ring: new DESedeKeySpec(args) uses the constructor with the fewest parameters (at least one); new DESedeKeySpec makes the object with the constructor without parameters; the others: (new DESedeKeySpec).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
DES_EDE_KEY_LENintconstant · statico.DES_EDE_KEY_LEN

Methods

MethodRing callJava overloads
getKeygetKey()byte[] getKey()
isParityAdjustedisParityAdjusted(key,offset)static boolean isParityAdjusted(byte[] key, int offset)

The methods and fields of Object are inherited.

DESKeySpec#

class · extends Object · javax.crypto.spec.DESKeySpec

Implements: KeySpec

Constructors

new DESKeySpec(byte[] key)
new DESKeySpec(byte[] key, int offset)

Ring: new DESKeySpec(args) uses the constructor with the fewest parameters (at least one); new DESKeySpec makes the object with the constructor without parameters; the others: (new DESKeySpec).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
DES_KEY_LENintconstant · statico.DES_KEY_LEN

Methods

MethodRing callJava overloads
getKeygetKey()byte[] getKey()
isParityAdjustedisParityAdjusted(key,offset)static boolean isParityAdjusted(byte[] key, int offset)
isWeakisWeak(key,offset)static boolean isWeak(byte[] key, int offset)

The methods and fields of Object are inherited.

DHGenParameterSpec#

class · extends Object · javax.crypto.spec.DHGenParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new DHGenParameterSpec(int primeSize, int exponentSize)

Ring: new DHGenParameterSpec(args) uses the constructor with the fewest parameters (at least one); new DHGenParameterSpec makes the object with the constructor without parameters; the others: (new DHGenParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getExponentSizegetExponentSize()int getExponentSize()
getPrimeSizegetPrimeSize()int getPrimeSize()

The methods and fields of Object are inherited.

DHParameterSpec#

class · extends Object · javax.crypto.spec.DHParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new DHParameterSpec(BigInteger p, BigInteger g)
new DHParameterSpec(BigInteger p, BigInteger g, int l)

Ring: new DHParameterSpec(args) uses the constructor with the fewest parameters (at least one); new DHParameterSpec makes the object with the constructor without parameters; the others: (new DHParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getGgetG()BigInteger getG()
getLgetL()int getL()
getPgetP()BigInteger getP()

The methods and fields of Object are inherited.

DHPrivateKeySpec#

class · extends Object · javax.crypto.spec.DHPrivateKeySpec

Implements: KeySpec

Constructors

new DHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g)

Ring: new DHPrivateKeySpec(args) uses the constructor with the fewest parameters (at least one); new DHPrivateKeySpec makes the object with the constructor without parameters; the others: (new DHPrivateKeySpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getGgetG()BigInteger getG()
getPgetP()BigInteger getP()
getXgetX()BigInteger getX()

The methods and fields of Object are inherited.

DHPublicKeySpec#

class · extends Object · javax.crypto.spec.DHPublicKeySpec

Implements: KeySpec

Constructors

new DHPublicKeySpec(BigInteger y, BigInteger p, BigInteger g)

Ring: new DHPublicKeySpec(args) uses the constructor with the fewest parameters (at least one); new DHPublicKeySpec makes the object with the constructor without parameters; the others: (new DHPublicKeySpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getGgetG()BigInteger getG()
getPgetP()BigInteger getP()
getYgetY()BigInteger getY()

The methods and fields of Object are inherited.

GCMParameterSpec#

class · extends Object · javax.crypto.spec.GCMParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new GCMParameterSpec(int tLen, byte[] src)
new GCMParameterSpec(int tLen, byte[] src, int offset, int len)

Ring: new GCMParameterSpec(args) uses the constructor with the fewest parameters (at least one); new GCMParameterSpec makes the object with the constructor without parameters; the others: (new GCMParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getIVgetIV()byte[] getIV()
getTLengetTLen()int getTLen()

The methods and fields of Object are inherited.

HKDFParameterSpec#

interface · javax.crypto.spec.HKDFParameterSpec

Extends: AlgorithmParameterSpec

Methods

MethodRing callJava overloads
expandOnlyexpandOnly(prk,info,length)static Expand expandOnly(SecretKey prk, byte[] info, int length)
ofExtractofExtract()static Builder ofExtract()

HKDFParameterSpecBuilder#

class final · extends Object · javax.crypto.spec.HKDFParameterSpec$Builder

Methods

MethodRing callJava overloads
addIKMaddIKM(ikm)Builder addIKM(SecretKey ikm)
Builder addIKM(byte[] ikm)
addSaltaddSalt(salt)Builder addSalt(SecretKey salt)
Builder addSalt(byte[] salt)
extractOnlyextractOnly()Extract extractOnly()
thenExpandthenExpand(info,length)ExtractThenExpand thenExpand(byte[] info, int length)

The methods and fields of Object are inherited.

HKDFParameterSpecExpand#

class final · extends Object · javax.crypto.spec.HKDFParameterSpec$Expand

Implements: HKDFParameterSpec

Methods

MethodRing callJava overloads
infoinfo()byte[] info()
lengthlength()int length()
prkprk()SecretKey prk()

The methods and fields of Object are inherited.

HKDFParameterSpecExtract#

class final · extends Object · javax.crypto.spec.HKDFParameterSpec$Extract

Implements: HKDFParameterSpec

Methods

MethodRing callJava overloads
ikmsikms()List ikms()
saltssalts()List salts()

The methods and fields of Object are inherited.

HKDFParameterSpecExtractThenExpand#

class final · extends Object · javax.crypto.spec.HKDFParameterSpec$ExtractThenExpand

Implements: HKDFParameterSpec

Methods

MethodRing callJava overloads
ikmsikms()List ikms()
infoinfo()byte[] info()
lengthlength()int length()
saltssalts()List salts()

The methods and fields of Object are inherited.

IvParameterSpec#

class · extends Object · javax.crypto.spec.IvParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new IvParameterSpec(byte[] iv)
new IvParameterSpec(byte[] iv, int offset, int len)

Ring: new IvParameterSpec(args) uses the constructor with the fewest parameters (at least one); new IvParameterSpec makes the object with the constructor without parameters; the others: (new IvParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getIVgetIV()byte[] getIV()

The methods and fields of Object are inherited.

OAEPParameterSpec#

class · extends Object · javax.crypto.spec.OAEPParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)

Ring: new OAEPParameterSpec(args) uses the constructor with the fewest parameters (at least one); new OAEPParameterSpec makes the object with the constructor without parameters; the others: (new OAEPParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
DEFAULTOAEPParameterSpecconstant · statico.DEFAULT

Methods

MethodRing callJava overloads
getDigestAlgorithmgetDigestAlgorithm()String getDigestAlgorithm()
getMGFAlgorithmgetMGFAlgorithm()String getMGFAlgorithm()
getMGFParametersgetMGFParameters()AlgorithmParameterSpec getMGFParameters()
getPSourcegetPSource()PSource getPSource()

The methods and fields of Object are inherited.

PBEKeySpec#

class · extends Object · javax.crypto.spec.PBEKeySpec

Implements: KeySpec

Constructors

new PBEKeySpec(char[] password)
new PBEKeySpec(char[] password, byte[] salt, int iterationCount)
new PBEKeySpec(char[] password, byte[] salt, int iterationCount, int keyLength)

Ring: new PBEKeySpec(args) uses the constructor with the fewest parameters (at least one); new PBEKeySpec makes the object with the constructor without parameters; the others: (new PBEKeySpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
clearPasswordclearPassword()void clearPassword()
getIterationCountgetIterationCount()int getIterationCount()
getKeyLengthgetKeyLength()int getKeyLength()
getPasswordgetPassword()char[] getPassword()
getSaltgetSalt()byte[] getSalt()

The methods and fields of Object are inherited.

PBEParameterSpec#

class · extends Object · javax.crypto.spec.PBEParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new PBEParameterSpec(byte[] salt, int iterationCount)
new PBEParameterSpec(byte[] salt, int iterationCount, AlgorithmParameterSpec paramSpec)

Ring: new PBEParameterSpec(args) uses the constructor with the fewest parameters (at least one); new PBEParameterSpec makes the object with the constructor without parameters; the others: (new PBEParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getIterationCountgetIterationCount()int getIterationCount()
getParameterSpecgetParameterSpec()AlgorithmParameterSpec getParameterSpec()
getSaltgetSalt()byte[] getSalt()

The methods and fields of Object are inherited.

PSource#

class · extends Object · javax.crypto.spec.PSource

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()

The methods and fields of Object are inherited.

PSourcePSpecified#

class final · extends PSource · javax.crypto.spec.PSource$PSpecified

Constructors

new PSourcePSpecified(byte[] p)

Ring: new PSourcePSpecified(args) uses the constructor with the fewest parameters (at least one); new PSourcePSpecified makes the object with the constructor without parameters; the others: (new PSourcePSpecified).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
DEFAULTPSpecifiedconstant · statico.DEFAULT

Methods

MethodRing callJava overloads
getValuegetValue()byte[] getValue()

The methods and fields of PSource are inherited.

RC2ParameterSpec#

class · extends Object · javax.crypto.spec.RC2ParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new RC2ParameterSpec(int effectiveKeyBits)
new RC2ParameterSpec(int effectiveKeyBits, byte[] iv)
new RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset)

Ring: new RC2ParameterSpec(args) uses the constructor with the fewest parameters (at least one); new RC2ParameterSpec makes the object with the constructor without parameters; the others: (new RC2ParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getEffectiveKeyBitsgetEffectiveKeyBits()int getEffectiveKeyBits()
getIVgetIV()byte[] getIV()

The methods and fields of Object are inherited.

RC5ParameterSpec#

class · extends Object · javax.crypto.spec.RC5ParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new RC5ParameterSpec(int version, int rounds, int wordSize)
new RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv)
new RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset)

Ring: new RC5ParameterSpec(args) uses the constructor with the fewest parameters (at least one); new RC5ParameterSpec makes the object with the constructor without parameters; the others: (new RC5ParameterSpec).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getIVgetIV()byte[] getIV()
getRoundsgetRounds()int getRounds()
getVersiongetVersion()int getVersion()
getWordSizegetWordSize()int getWordSize()

The methods and fields of Object are inherited.

SecretKeySpec#

class · extends Object · javax.crypto.spec.SecretKeySpec

Implements: KeySpec, SecretKey

Constructors

new SecretKeySpec(byte[] key, String algorithm)
new SecretKeySpec(byte[] key, int offset, int len, String algorithm)

Ring: new SecretKeySpec(args) uses the constructor with the fewest parameters (at least one); new SecretKeySpec makes the object with the constructor without parameters; the others: (new SecretKeySpec).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
destroydestroy()void destroy()
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()
isDestroyedisDestroyed()boolean isDestroyed()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.