Top Inners Fields Constructors Methods
sun.security.ec.ed

public Class EdDSAParameters

extends Object
Class Inheritance
Imports
sun.security.ec.ParametersMap, sun.security.provider.SHAKE256, sun.security.util.ObjectIdentifier, .KnownOIDs, sun.security.util.math.*, sun.security.util.math.intpoly.*, sun.security.x509.AlgorithmId, java.io.IOException, java.math.BigInteger, java.nio.charset.StandardCharsets, java.security.*, java.security.spec.*, java.util.function.Function

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
public static interface
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private final int
private final ImmutableIntegerModuloP
d

private final EdDSAParameters.DigesterFactory
private final Function<EdDSAParameterSpec, byte[]>
private final EdECOperations
private final IntegerFieldModuloP
private final int
private final int
private final String
private static final ParametersMap<EdDSAParameters>
private final ObjectIdentifier
private final IntegerFieldModuloP
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
public
EdDSAParameters(String name, ObjectIdentifier oid, IntegerFieldModuloP field, IntegerFieldModuloP orderField, ImmutableIntegerModuloP d, EdECOperations edOps, EdDSAParameters.DigesterFactory digester, Function<EdDSAParameterSpec, byte[]> dom, int keyLength, int bits, int logCofactor)

Method Summary

Modifier and TypeMethod and Description
public EdDSAParameters.Digester
public EdDSAParameters.Digester
createDigester(int len)

public byte[]
digest(byte[]... data)

public byte[]
pack-priv static byte[]
pack-priv static byte[]
pack-priv static byte[]
domImpl(String prefixStr, EdDSAParameterSpec sigParams)

public static <T extends Throwable> EdDSAParameters
get(Function<String, T> exception, AlgorithmId algId)

public static <T extends Throwable> EdDSAParameters
get(Function<String, T> exception, AlgorithmParameterSpec params)

public int
public static <T extends Throwable> EdDSAParameters
getBySize(Function<String, T> exception, int size)

public ImmutableIntegerModuloP
getD()

public EdECOperations
public IntegerFieldModuloP
public int
public int
public String
public ObjectIdentifier
public IntegerFieldModuloP
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bitsback to summary
private final int bits
dback to summary
private final ImmutableIntegerModuloP d
digesterback to summary
private final EdDSAParameters.DigesterFactory digester
domback to summary
private final Function<EdDSAParameterSpec, byte[]> dom
edOperationsback to summary
private final EdECOperations edOperations
fieldback to summary
private final IntegerFieldModuloP field
keyLengthback to summary
private final int keyLength
logCofactorback to summary
private final int logCofactor
nameback to summary
private final String name
namedParamsback to summary
private static final ParametersMap<EdDSAParameters> namedParams
oidback to summary
private final ObjectIdentifier oid
orderFieldback to summary
private final IntegerFieldModuloP orderField
prefixStr25519back to summary
private static final String prefixStr25519
prefixStr448back to summary
private static final String prefixStr448

Constructor Detail

EdDSAParametersback to summary
public EdDSAParameters(String name, ObjectIdentifier oid, IntegerFieldModuloP field, IntegerFieldModuloP orderField, ImmutableIntegerModuloP d, EdECOperations edOps, EdDSAParameters.DigesterFactory digester, Function<EdDSAParameterSpec, byte[]> dom, int keyLength, int bits, int logCofactor)

Method Detail

createDigesterback to summary
public EdDSAParameters.Digester createDigester()
createDigesterback to summary
public EdDSAParameters.Digester createDigester(int len)
digestback to summary
public byte[] digest(byte[]... data)
domback to summary
public byte[] dom(EdDSAParameterSpec sigParams)
dom2back to summary
pack-priv static byte[] dom2(EdDSAParameterSpec sigParams)
dom4back to summary
pack-priv static byte[] dom4(EdDSAParameterSpec sigParams)
domImplback to summary
pack-priv static byte[] domImpl(String prefixStr, EdDSAParameterSpec sigParams)
getback to summary
public static <T extends Throwable> EdDSAParameters get(Function<String, T> exception, AlgorithmId algId) throws T
getback to summary
public static <T extends Throwable> EdDSAParameters get(Function<String, T> exception, AlgorithmParameterSpec params) throws T
getBitsback to summary
public int getBits()
getBySizeback to summary
public static <T extends Throwable> EdDSAParameters getBySize(Function<String, T> exception, int size) throws T
getDback to summary
public ImmutableIntegerModuloP getD()
getEdOperationsback to summary
public EdECOperations getEdOperations()
getFieldback to summary
public IntegerFieldModuloP getField()
getKeyLengthback to summary
public int getKeyLength()
getLogCofactorback to summary
public int getLogCofactor()
getNameback to summary
public String getName()
getOidback to summary
public ObjectIdentifier getOid()
getOrderFieldback to summary
public IntegerFieldModuloP getOrderField()
sun.security.ec.ed back to summary

public Interface EdDSAParameters.Digester

Known Direct Implementers
sun.security.ec.ed.EdDSAParameters.MessageDigester, sun.security.ec.ed.EdDSAParameters.SHAKE256Digester

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
update(byte data)

public void
update(byte[] data, int off, int len)

Method Detail

digestback to summary
public byte[] digest()
updateback to summary
public void update(byte data)
updateback to summary
public void update(byte[] data, int off, int len)
sun.security.ec.ed back to summary

public Interface EdDSAParameters.DigesterFactory

Known Direct Implementers
sun.security.ec.ed.EdDSAParameters.SHA512DigesterFactory, sun.security.ec.ed.EdDSAParameters.SHAKE256DigesterFactory

Method Summary

Modifier and TypeMethod and Description
public EdDSAParameters.Digester
public default EdDSAParameters.Digester
createDigester(int len)

public default byte[]
digest(byte[]... data)

Method Detail

createDigesterback to summary
public EdDSAParameters.Digester createDigester()
createDigesterback to summary
public default EdDSAParameters.Digester createDigester(int len)
digestback to summary
public default byte[] digest(byte[]... data)
sun.security.ec.ed back to summary

private Class EdDSAParameters.MessageDigester

extends Object
implements Digester
Class Inheritance
All Implemented Interfaces
sun.security.ec.ed.EdDSAParameters.Digester

Field Summary

Modifier and TypeField and Description
private final MessageDigest

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
public void
update(byte[] data, int off, int len)

Implements sun.security.ec.ed.EdDSAParameters.Digester.update.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mdback to summary
private final MessageDigest md

Constructor Detail

MessageDigesterback to summary
private MessageDigester(MessageDigest md)

Method Detail

digestback to summary
public byte[] digest()

Implements sun.security.ec.ed.EdDSAParameters.Digester.digest.

Annotations
@Override
updateback to summary
public void update(byte data)

Implements sun.security.ec.ed.EdDSAParameters.Digester.update.

Annotations
@Override
updateback to summary
public void update(byte[] data, int off, int len)

Implements sun.security.ec.ed.EdDSAParameters.Digester.update.

Annotations
@Override
sun.security.ec.ed back to summary

private Class EdDSAParameters.SHA512DigesterFactory

extends Object
implements DigesterFactory
Class Inheritance
All Implemented Interfaces
sun.security.ec.ed.EdDSAParameters.DigesterFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public EdDSAParameters.Digester
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SHA512DigesterFactoryback to summary
private SHA512DigesterFactory()

Method Detail

createDigesterback to summary
public EdDSAParameters.Digester createDigester()

Implements sun.security.ec.ed.EdDSAParameters.DigesterFactory.createDigester.

Annotations
@Override
sun.security.ec.ed back to summary

private Class EdDSAParameters.SHAKE256Digester

extends Object
implements Digester
Class Inheritance
All Implemented Interfaces
sun.security.ec.ed.EdDSAParameters.Digester

Field Summary

Modifier and TypeField and Description
pack-priv SHAKE256

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
public void
update(byte[] data, int off, int len)

Implements sun.security.ec.ed.EdDSAParameters.Digester.update.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mdback to summary
pack-priv SHAKE256 md

Constructor Detail

SHAKE256Digesterback to summary
pack-priv SHAKE256Digester(int len)

Method Detail

digestback to summary
public byte[] digest()

Implements sun.security.ec.ed.EdDSAParameters.Digester.digest.

Annotations
@Override
updateback to summary
public void update(byte data)

Implements sun.security.ec.ed.EdDSAParameters.Digester.update.

Annotations
@Override
updateback to summary
public void update(byte[] data, int off, int len)

Implements sun.security.ec.ed.EdDSAParameters.Digester.update.

Annotations
@Override
sun.security.ec.ed back to summary

private Class EdDSAParameters.SHAKE256DigesterFactory

extends Object
implements DigesterFactory
Class Inheritance
All Implemented Interfaces
sun.security.ec.ed.EdDSAParameters.DigesterFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public EdDSAParameters.Digester
public EdDSAParameters.Digester
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SHAKE256DigesterFactoryback to summary
private SHAKE256DigesterFactory()

Method Detail

createDigesterback to summary
public EdDSAParameters.Digester createDigester()

Implements sun.security.ec.ed.EdDSAParameters.DigesterFactory.createDigester.

Annotations
@Override
createDigesterback to summary
public EdDSAParameters.Digester createDigester(int len)

Overrides default sun.security.ec.ed.EdDSAParameters.DigesterFactory.createDigester.

Annotations
@Override