java.security.spec
35 classes of the module java.base.
Load them with:
using {
"java.security.spec"
}
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
| Method | Ring call | Java overloads |
|---|---|---|
getPrimePLength | getPrimePLength() | int getPrimePLength() |
getSeedLength | getSeedLength() | int getSeedLength() |
getSubprimeQLength | getSubprimeQLength() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getG | getG() | BigInteger getG() |
getP | getP() | BigInteger getP() |
getQ | getQ() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getG | getG() | BigInteger getG() |
getP | getP() | BigInteger getP() |
getQ | getQ() | BigInteger getQ() |
getX | getX() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getG | getG() | BigInteger getG() |
getP | getP() | BigInteger getP() |
getQ | getQ() | BigInteger getQ() |
getY | getY() | BigInteger getY() |
The methods and fields of Object are inherited.
ECField#
interface · java.security.spec.ECField
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFieldSize | getFieldSize() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getFieldSize | getFieldSize() | int getFieldSize() |
getM | getM() | int getM() |
getMidTermsOfReductionPolynomial | getMidTermsOfReductionPolynomial() | int[] getMidTermsOfReductionPolynomial() |
getReductionPolynomial | getReductionPolynomial() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getFieldSize | getFieldSize() | int getFieldSize() |
getP | getP() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getCofactor | getCofactor() | int getCofactor() |
getCurve | getCurve() | EllipticCurve getCurve() |
getGenerator | getGenerator() | ECPoint getGenerator() |
getOrder | getOrder() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
POINT_INFINITY | ECPoint | constant · static | o.POINT_INFINITY |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAffineX | getAffineX() | BigInteger getAffineX() |
getAffineY | getAffineY() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getParams | getParams() | ECParameterSpec getParams() |
getS | getS() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getParams | getParams() | ECParameterSpec getParams() |
getW | getW() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getContext | getContext() | Optional getContext() |
isPrehash | isPrehash() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getY | getY() | BigInteger getY() |
isXOdd | isXOdd() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getBytes | getBytes() | byte[] getBytes() |
getParams | getParams() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getParams | getParams() | NamedParameterSpec getParams() |
getPoint | getPoint() | 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
| Method | Ring call | Java overloads |
|---|---|---|
@getField | @getField() | ECField getField() |
getA | getA() | BigInteger getA() |
getB | getB() | BigInteger getB() |
getSeed | getSeed() | byte[] getSeed() |
The methods and fields of Object are inherited.
EncodedKeySpec#
abstract · extends Object · java.security.spec.EncodedKeySpec
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
| Name | Type | Access | In Ring |
|---|---|---|---|
SHA1 | MGF1ParameterSpec | constant · static | o.SHA1 |
SHA224 | MGF1ParameterSpec | constant · static | o.SHA224 |
SHA256 | MGF1ParameterSpec | constant · static | o.SHA256 |
SHA384 | MGF1ParameterSpec | constant · static | o.SHA384 |
SHA512 | MGF1ParameterSpec | constant · static | o.SHA512 |
SHA512_224 | MGF1ParameterSpec | constant · static | o.SHA512_224 |
SHA512_256 | MGF1ParameterSpec | constant · static | o.SHA512_256 |
SHA3_224 | MGF1ParameterSpec | constant · static | o.SHA3_224 |
SHA3_256 | MGF1ParameterSpec | constant · static | o.SHA3_256 |
SHA3_384 | MGF1ParameterSpec | constant · static | o.SHA3_384 |
SHA3_512 | MGF1ParameterSpec | constant · static | o.SHA3_512 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDigestAlgorithm | getDigestAlgorithm() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
X25519 | NamedParameterSpec | constant · static | o.X25519 |
X448 | NamedParameterSpec | constant · static | o.X448 |
ED25519 | NamedParameterSpec | constant · static | o.ED25519 |
ED448 | NamedParameterSpec | constant · static | o.ED448 |
ML_DSA_44 | NamedParameterSpec | constant · static | o.ML_DSA_44 |
ML_DSA_65 | NamedParameterSpec | constant · static | o.ML_DSA_65 |
ML_DSA_87 | NamedParameterSpec | constant · static | o.ML_DSA_87 |
ML_KEM_512 | NamedParameterSpec | constant · static | o.ML_KEM_512 |
ML_KEM_768 | NamedParameterSpec | constant · static | o.ML_KEM_768 |
ML_KEM_1024 | NamedParameterSpec | constant · static | o.ML_KEM_1024 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getName | getName() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
TRAILER_FIELD_BC | int | constant · static | o.TRAILER_FIELD_BC |
DEFAULT | PSSParameterSpec | constant · static | o.DEFAULT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDigestAlgorithm | getDigestAlgorithm() | String getDigestAlgorithm() |
getMGFAlgorithm | getMGFAlgorithm() | String getMGFAlgorithm() |
getMGFParameters | getMGFParameters() | AlgorithmParameterSpec getMGFParameters() |
getSaltLength | getSaltLength() | int getSaltLength() |
getTrailerField | getTrailerField() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
F0 | BigInteger | constant · static | o.F0 |
F4 | BigInteger | constant · static | o.F4 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getKeyParams | getKeyParams() | AlgorithmParameterSpec getKeyParams() |
getKeysize | getKeysize() | int getKeysize() |
getPublicExponent | getPublicExponent() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getCrtCoefficient | getCrtCoefficient() | BigInteger getCrtCoefficient() |
getOtherPrimeInfo | getOtherPrimeInfo() | RSAOtherPrimeInfo[] getOtherPrimeInfo() |
getPrimeExponentP | getPrimeExponentP() | BigInteger getPrimeExponentP() |
getPrimeExponentQ | getPrimeExponentQ() | BigInteger getPrimeExponentQ() |
getPrimeP | getPrimeP() | BigInteger getPrimeP() |
getPrimeQ | getPrimeQ() | BigInteger getPrimeQ() |
getPublicExponent | getPublicExponent() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getCrtCoefficient | getCrtCoefficient() | BigInteger getCrtCoefficient() |
getExponent | getExponent() | BigInteger getExponent() |
getPrime | getPrime() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getCrtCoefficient | getCrtCoefficient() | BigInteger getCrtCoefficient() |
getPrimeExponentP | getPrimeExponentP() | BigInteger getPrimeExponentP() |
getPrimeExponentQ | getPrimeExponentQ() | BigInteger getPrimeExponentQ() |
getPrimeP | getPrimeP() | BigInteger getPrimeP() |
getPrimeQ | getPrimeQ() | BigInteger getPrimeQ() |
getPublicExponent | getPublicExponent() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getModulus | getModulus() | BigInteger getModulus() |
getParams | getParams() | AlgorithmParameterSpec getParams() |
getPrivateExponent | getPrivateExponent() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getModulus | getModulus() | BigInteger getModulus() |
getParams | getParams() | AlgorithmParameterSpec getParams() |
getPublicExponent | getPublicExponent() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getParams | getParams() | AlgorithmParameterSpec getParams() |
getScalar | getScalar() | 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
| Method | Ring call | Java overloads |
|---|---|---|
getParams | getParams() | AlgorithmParameterSpec getParams() |
getU | getU() | BigInteger getU() |
The methods and fields of Object are inherited.