RingJavafor Ring

java.security.spec

35 classes of the module java.base.

Load them with:

using {
	"java.security.spec"
}

All packages

AlgorithmParameterSpec#

interface · java.security.spec.AlgorithmParameterSpec

DSAGenParameterSpec#

class final · extends Object · java.security.spec.DSAGenParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new DSAGenParameterSpec(int primePLen, int subprimeQLen)
new DSAGenParameterSpec(int primePLen, int subprimeQLen, int seedLen)

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

Methods

MethodRing callJava overloads
getPrimePLengthgetPrimePLength()int getPrimePLength()
getSeedLengthgetSeedLength()int getSeedLength()
getSubprimeQLengthgetSubprimeQLength()int getSubprimeQLength()

The methods and fields of Object are inherited.

DSAParameterSpec#

class · extends Object · java.security.spec.DSAParameterSpec

Implements: AlgorithmParameterSpec, DSAParams

Constructors

new DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)

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

Methods

MethodRing callJava overloads
getGgetG()BigInteger getG()
getPgetP()BigInteger getP()
getQgetQ()BigInteger getQ()

The methods and fields of Object are inherited.

DSAPrivateKeySpec#

class · extends Object · java.security.spec.DSAPrivateKeySpec

Implements: KeySpec

Constructors

new DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g)

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

Methods

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

The methods and fields of Object are inherited.

DSAPublicKeySpec#

class · extends Object · java.security.spec.DSAPublicKeySpec

Implements: KeySpec

Constructors

new DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)

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

Methods

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

The methods and fields of Object are inherited.

ECField#

interface · java.security.spec.ECField

Methods

MethodRing callJava overloads
getFieldSizegetFieldSize()int getFieldSize()

ECFieldF2m#

class · extends Object · java.security.spec.ECFieldF2m

Implements: ECField

Constructors

new ECFieldF2m(int m)
new ECFieldF2m(int m, int[] ks)
new ECFieldF2m(int m, BigInteger rp)

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

Methods

MethodRing callJava overloads
getFieldSizegetFieldSize()int getFieldSize()
getMgetM()int getM()
getMidTermsOfReductionPolynomialgetMidTermsOfReductionPolynomial()int[] getMidTermsOfReductionPolynomial()
getReductionPolynomialgetReductionPolynomial()BigInteger getReductionPolynomial()

The methods and fields of Object are inherited.

ECFieldFp#

class · extends Object · java.security.spec.ECFieldFp

Implements: ECField

Constructors

new ECFieldFp(BigInteger p)

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

Methods

MethodRing callJava overloads
getFieldSizegetFieldSize()int getFieldSize()
getPgetP()BigInteger getP()

The methods and fields of Object are inherited.

ECGenParameterSpec#

class · extends NamedParameterSpec · java.security.spec.ECGenParameterSpec

Constructors

new ECGenParameterSpec(String stdName)

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

The methods and fields of NamedParameterSpec are inherited.

ECParameterSpec#

class · extends Object · java.security.spec.ECParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h)

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

Methods

MethodRing callJava overloads
getCofactorgetCofactor()int getCofactor()
getCurvegetCurve()EllipticCurve getCurve()
getGeneratorgetGenerator()ECPoint getGenerator()
getOrdergetOrder()BigInteger getOrder()

The methods and fields of Object are inherited.

ECPoint#

class · extends Object · java.security.spec.ECPoint

Constructors

new ECPoint(BigInteger x, BigInteger y)

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

Fields

NameTypeAccessIn Ring
POINT_INFINITYECPointconstant · statico.POINT_INFINITY

Methods

MethodRing callJava overloads
getAffineXgetAffineX()BigInteger getAffineX()
getAffineYgetAffineY()BigInteger getAffineY()

The methods and fields of Object are inherited.

ECPrivateKeySpec#

class · extends Object · java.security.spec.ECPrivateKeySpec

Implements: KeySpec

Constructors

new ECPrivateKeySpec(BigInteger s, ECParameterSpec params)

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

Methods

MethodRing callJava overloads
getParamsgetParams()ECParameterSpec getParams()
getSgetS()BigInteger getS()

The methods and fields of Object are inherited.

ECPublicKeySpec#

class · extends Object · java.security.spec.ECPublicKeySpec

Implements: KeySpec

Constructors

new ECPublicKeySpec(ECPoint w, ECParameterSpec params)

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

Methods

MethodRing callJava overloads
getParamsgetParams()ECParameterSpec getParams()
getWgetW()ECPoint getW()

The methods and fields of Object are inherited.

EdDSAParameterSpec#

class · extends Object · java.security.spec.EdDSAParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new EdDSAParameterSpec(boolean prehash)
new EdDSAParameterSpec(boolean prehash, byte[] context)

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

Methods

MethodRing callJava overloads
getContextgetContext()Optional getContext()
isPrehashisPrehash()boolean isPrehash()

The methods and fields of Object are inherited.

EdECPoint#

class final · extends Object · java.security.spec.EdECPoint

Constructors

new EdECPoint(boolean xOdd, BigInteger y)

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

Methods

MethodRing callJava overloads
getYgetY()BigInteger getY()
isXOddisXOdd()boolean isXOdd()

The methods and fields of Object are inherited.

EdECPrivateKeySpec#

class final · extends Object · java.security.spec.EdECPrivateKeySpec

Implements: KeySpec

Constructors

new EdECPrivateKeySpec(NamedParameterSpec params, byte[] bytes)

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

Methods

MethodRing callJava overloads
getBytesgetBytes()byte[] getBytes()
getParamsgetParams()NamedParameterSpec getParams()

The methods and fields of Object are inherited.

EdECPublicKeySpec#

class final · extends Object · java.security.spec.EdECPublicKeySpec

Implements: KeySpec

Constructors

new EdECPublicKeySpec(NamedParameterSpec params, EdECPoint point)

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

Methods

MethodRing callJava overloads
getParamsgetParams()NamedParameterSpec getParams()
getPointgetPoint()EdECPoint getPoint()

The methods and fields of Object are inherited.

EllipticCurve#

class · extends Object · java.security.spec.EllipticCurve

Constructors

new EllipticCurve(ECField field, BigInteger a, BigInteger b)
new EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed)

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

Methods

MethodRing callJava overloads
@getField@getField()ECField getField()
getAgetA()BigInteger getA()
getBgetB()BigInteger getB()
getSeedgetSeed()byte[] getSeed()

The methods and fields of Object are inherited.

EncodedKeySpec#

abstract · extends Object · java.security.spec.EncodedKeySpec

Implements: KeySpec

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()

The methods and fields of Object are inherited.

InvalidKeySpecException#

class · extends GeneralSecurityException · java.security.spec.InvalidKeySpecException

Constructors

new InvalidKeySpecException()
new InvalidKeySpecException(Throwable cause)
new InvalidKeySpecException(String msg)
new InvalidKeySpecException(String message, Throwable cause)

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

The methods and fields of GeneralSecurityException are inherited.

InvalidParameterSpecException#

class · extends GeneralSecurityException · java.security.spec.InvalidParameterSpecException

Constructors

new InvalidParameterSpecException()
new InvalidParameterSpecException(String msg)

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

The methods and fields of GeneralSecurityException are inherited.

KeySpec#

interface · java.security.spec.KeySpec

MGF1ParameterSpec#

class · extends Object · java.security.spec.MGF1ParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new MGF1ParameterSpec(String mdName)

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

Fields

NameTypeAccessIn Ring
SHA1MGF1ParameterSpecconstant · statico.SHA1
SHA224MGF1ParameterSpecconstant · statico.SHA224
SHA256MGF1ParameterSpecconstant · statico.SHA256
SHA384MGF1ParameterSpecconstant · statico.SHA384
SHA512MGF1ParameterSpecconstant · statico.SHA512
SHA512_224MGF1ParameterSpecconstant · statico.SHA512_224
SHA512_256MGF1ParameterSpecconstant · statico.SHA512_256
SHA3_224MGF1ParameterSpecconstant · statico.SHA3_224
SHA3_256MGF1ParameterSpecconstant · statico.SHA3_256
SHA3_384MGF1ParameterSpecconstant · statico.SHA3_384
SHA3_512MGF1ParameterSpecconstant · statico.SHA3_512

Methods

MethodRing callJava overloads
getDigestAlgorithmgetDigestAlgorithm()String getDigestAlgorithm()

The methods and fields of Object are inherited.

NamedParameterSpec#

class · extends Object · java.security.spec.NamedParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new NamedParameterSpec(String stdName)

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

Fields

NameTypeAccessIn Ring
X25519NamedParameterSpecconstant · statico.X25519
X448NamedParameterSpecconstant · statico.X448
ED25519NamedParameterSpecconstant · statico.ED25519
ED448NamedParameterSpecconstant · statico.ED448
ML_DSA_44NamedParameterSpecconstant · statico.ML_DSA_44
ML_DSA_65NamedParameterSpecconstant · statico.ML_DSA_65
ML_DSA_87NamedParameterSpecconstant · statico.ML_DSA_87
ML_KEM_512NamedParameterSpecconstant · statico.ML_KEM_512
ML_KEM_768NamedParameterSpecconstant · statico.ML_KEM_768
ML_KEM_1024NamedParameterSpecconstant · statico.ML_KEM_1024

Methods

MethodRing callJava overloads
getNamegetName()String getName()

The methods and fields of Object are inherited.

PKCS8EncodedKeySpec#

class · extends EncodedKeySpec · java.security.spec.PKCS8EncodedKeySpec

Implements: DEREncodable

Constructors

new PKCS8EncodedKeySpec(byte[] encodedKey)
new PKCS8EncodedKeySpec(byte[] encodedKey, String algorithm)

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

The methods and fields of EncodedKeySpec are inherited.

PSSParameterSpec#

class · extends Object · java.security.spec.PSSParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new PSSParameterSpec(int saltLen)
new PSSParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField)

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

Fields

NameTypeAccessIn Ring
TRAILER_FIELD_BCintconstant · statico.TRAILER_FIELD_BC
DEFAULTPSSParameterSpecconstant · statico.DEFAULT

Methods

MethodRing callJava overloads
getDigestAlgorithmgetDigestAlgorithm()String getDigestAlgorithm()
getMGFAlgorithmgetMGFAlgorithm()String getMGFAlgorithm()
getMGFParametersgetMGFParameters()AlgorithmParameterSpec getMGFParameters()
getSaltLengthgetSaltLength()int getSaltLength()
getTrailerFieldgetTrailerField()int getTrailerField()

The methods and fields of Object are inherited.

RSAKeyGenParameterSpec#

class · extends Object · java.security.spec.RSAKeyGenParameterSpec

Implements: AlgorithmParameterSpec

Constructors

new RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
new RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent, AlgorithmParameterSpec keyParams)

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

Fields

NameTypeAccessIn Ring
F0BigIntegerconstant · statico.F0
F4BigIntegerconstant · statico.F4

Methods

MethodRing callJava overloads
getKeyParamsgetKeyParams()AlgorithmParameterSpec getKeyParams()
getKeysizegetKeysize()int getKeysize()
getPublicExponentgetPublicExponent()BigInteger getPublicExponent()

The methods and fields of Object are inherited.

RSAMultiPrimePrivateCrtKeySpec#

class · extends RSAPrivateKeySpec · java.security.spec.RSAMultiPrimePrivateCrtKeySpec

Constructors

new RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo)
new RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo, AlgorithmParameterSpec keyParams)

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

Methods

MethodRing callJava overloads
getCrtCoefficientgetCrtCoefficient()BigInteger getCrtCoefficient()
getOtherPrimeInfogetOtherPrimeInfo()RSAOtherPrimeInfo[] getOtherPrimeInfo()
getPrimeExponentPgetPrimeExponentP()BigInteger getPrimeExponentP()
getPrimeExponentQgetPrimeExponentQ()BigInteger getPrimeExponentQ()
getPrimePgetPrimeP()BigInteger getPrimeP()
getPrimeQgetPrimeQ()BigInteger getPrimeQ()
getPublicExponentgetPublicExponent()BigInteger getPublicExponent()

The methods and fields of RSAPrivateKeySpec are inherited.

RSAOtherPrimeInfo#

class · extends Object · java.security.spec.RSAOtherPrimeInfo

Constructors

new RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)

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

Methods

MethodRing callJava overloads
getCrtCoefficientgetCrtCoefficient()BigInteger getCrtCoefficient()
getExponentgetExponent()BigInteger getExponent()
getPrimegetPrime()BigInteger getPrime()

The methods and fields of Object are inherited.

RSAPrivateCrtKeySpec#

class · extends RSAPrivateKeySpec · java.security.spec.RSAPrivateCrtKeySpec

Constructors

new RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
new RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams)

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

Methods

MethodRing callJava overloads
getCrtCoefficientgetCrtCoefficient()BigInteger getCrtCoefficient()
getPrimeExponentPgetPrimeExponentP()BigInteger getPrimeExponentP()
getPrimeExponentQgetPrimeExponentQ()BigInteger getPrimeExponentQ()
getPrimePgetPrimeP()BigInteger getPrimeP()
getPrimeQgetPrimeQ()BigInteger getPrimeQ()
getPublicExponentgetPublicExponent()BigInteger getPublicExponent()

The methods and fields of RSAPrivateKeySpec are inherited.

RSAPrivateKeySpec#

class · extends Object · java.security.spec.RSAPrivateKeySpec

Implements: KeySpec

Constructors

new RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
new RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, AlgorithmParameterSpec params)

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

Methods

MethodRing callJava overloads
getModulusgetModulus()BigInteger getModulus()
getParamsgetParams()AlgorithmParameterSpec getParams()
getPrivateExponentgetPrivateExponent()BigInteger getPrivateExponent()

The methods and fields of Object are inherited.

RSAPublicKeySpec#

class · extends Object · java.security.spec.RSAPublicKeySpec

Implements: KeySpec

Constructors

new RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
new RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params)

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

Methods

MethodRing callJava overloads
getModulusgetModulus()BigInteger getModulus()
getParamsgetParams()AlgorithmParameterSpec getParams()
getPublicExponentgetPublicExponent()BigInteger getPublicExponent()

The methods and fields of Object are inherited.

X509EncodedKeySpec#

class · extends EncodedKeySpec · java.security.spec.X509EncodedKeySpec

Implements: DEREncodable

Constructors

new X509EncodedKeySpec(byte[] encodedKey)
new X509EncodedKeySpec(byte[] encodedKey, String algorithm)

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

The methods and fields of EncodedKeySpec are inherited.

XECPrivateKeySpec#

class · extends Object · java.security.spec.XECPrivateKeySpec

Implements: KeySpec

Constructors

new XECPrivateKeySpec(AlgorithmParameterSpec params, byte[] scalar)

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

Methods

MethodRing callJava overloads
getParamsgetParams()AlgorithmParameterSpec getParams()
getScalargetScalar()byte[] getScalar()

The methods and fields of Object are inherited.

XECPublicKeySpec#

class · extends Object · java.security.spec.XECPublicKeySpec

Implements: KeySpec

Constructors

new XECPublicKeySpec(AlgorithmParameterSpec params, BigInteger u)

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

Methods

MethodRing callJava overloads
getParamsgetParams()AlgorithmParameterSpec getParams()
getUgetU()BigInteger getU()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.