Modifier and Type | Class and Description |
---|---|
private static class | |
public static class | |
public static class | |
private static class | |
private static interface |
Modifier and Type | Field and Description |
---|---|
private EdDSAParameters | |
private EdDSASignature. | |
private EdDSAOperations | |
private byte[] | |
private byte[] | |
private AffinePoint | |
private EdDSAParameterSpec |
Access | Constructor and Description |
---|---|
public | |
pack-priv |
Modifier and Type | Method and Description |
---|---|
private static void | |
private <T extends Throwable> void | |
protected Object | engineGetParameter(String
the string name of the parameter. param)Implements abstract java.
Deprecated
Gets the value of the specified algorithm parameter. |
protected AlgorithmParameters | engineGetParameters()
Overrides java. Returns the parameters used with this |
protected void | engineInitSign(PrivateKey
the private key of the identity whose signature
will be generated. privateKey)Implements abstract java. Initializes this |
protected void | engineInitSign(PrivateKey
the private key of the identity whose signature
will be generated. privateKey, SecureRandom the source of randomness random)Overrides java. Initializes this |
protected void | engineInitVerify(PublicKey
the public key of the identity whose signature is
going to be verified. publicKey)Implements abstract java. Initializes this |
protected void | engineSetParameter(String
the string identifier of the parameter. param, Object the parameter value. value)Implements abstract java.
Deprecated
Sets the specified algorithm parameter to the specified value. |
protected void | engineSetParameter(AlgorithmParameterSpec
the parameters params)Overrides java. Initializes this |
protected byte[] | engineSign()
Implements abstract java. Returns the signature bytes of all the data updated so far. |
protected void | engineUpdate(byte
the byte to use for the update. b)Implements abstract java. Updates the data to be signed or verified using the specified byte. |
protected void | engineUpdate(byte[]
the array of bytes b, int the offset to start from in the array of bytes off, int the number of bytes to use, starting at offset len)Implements abstract java. Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset. |
protected boolean | engineVerify(byte[]
the signature bytes to be verified. sigBytes)Implements abstract java. Verifies the passed-in signature. |
private void | |
private void | |
private void | |
private void |
lockedParams | back to summary |
---|---|
private EdDSAParameters lockedParams |
message | back to summary |
---|---|
private EdDSASignature. |
ops | back to summary |
---|---|
private EdDSAOperations ops |
privateKey | back to summary |
---|---|
private byte[] privateKey |
publicKeyBytes | back to summary |
---|---|
private byte[] publicKeyBytes |
publicKeyPoint | back to summary |
---|---|
private AffinePoint publicKeyPoint |
sigParams | back to summary |
---|---|
private EdDSAParameterSpec sigParams |
EdDSASignature | back to summary |
---|---|
public EdDSASignature() |
EdDSASignature | back to summary |
---|---|
pack-priv EdDSASignature(NamedParameterSpec paramSpec) |
checkContextLength | back to summary |
---|---|
private static void checkContextLength(EdDSAParameterSpec edDsaParams) throws InvalidAlgorithmParameterException |
checkLockedParams | back to summary |
---|---|
private <T extends Throwable> void checkLockedParams(Function<String, T> exception, EdDSAParameters params) throws T |
engineGetParameter | back to summary |
---|---|
protected Object engineGetParameter(String param) throws InvalidParameterException Implements abstract java. Doc from java. Deprecated
Gets the value of the specified algorithm parameter. This method supplies a general-purpose mechanism through which it is possible to get the various parameters of this object. A parameter may be any settable parameter for the algorithm, such as a parameter size, or a source of random bits for signature generation (if appropriate), or an indication of whether to perform a specific but optional computation. A uniform algorithm-specific naming scheme for each parameter is desirable but left unspecified at this time.
|
engineGetParameters | back to summary |
---|---|
protected AlgorithmParameters engineGetParameters() Overrides java. Doc from java. Returns the parameters used with this The returned parameters may be the same that were used to initialize
this However, if the signature scheme does not support returning
the parameters as
|
engineInitSign | back to summary |
---|---|
protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException Implements abstract java. Doc from java. Initializes this
|
engineInitSign | back to summary |
---|---|
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException Overrides java. Doc from java. Initializes this This concrete method has been added to this previously-defined abstract class. (For backwards compatibility, it cannot be abstract.)
|
engineInitVerify | back to summary |
---|---|
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException Implements abstract java. Doc from java. Initializes this
|
engineSetParameter | back to summary |
---|---|
protected void engineSetParameter(String param, Object value) throws InvalidParameterException Implements abstract java. Doc from java. Deprecated
Sets the specified algorithm parameter to the specified value. This method supplies a general-purpose mechanism through which it is possible to set the various parameters of this object. A parameter may be any settable parameter for the algorithm, such as a parameter size, or a source of random bits for signature generation (if appropriate), or an indication of whether to perform a specific but optional computation. A uniform algorithm-specific naming scheme for each parameter is desirable but left unspecified at this time.
|
engineSetParameter | back to summary |
---|---|
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Initializes this
|
engineSign | back to summary |
---|---|
protected byte[] engineSign() throws SignatureException Implements abstract java. Doc from java. Returns the signature bytes of all the data updated so far. The format of the signature depends on the underlying signature scheme.
|
engineUpdate | back to summary |
---|---|
protected void engineUpdate(byte b) throws SignatureException Implements abstract java. Doc from java. Updates the data to be signed or verified using the specified byte.
|
engineUpdate | back to summary |
---|---|
protected void engineUpdate(byte[] b, int off, int len) throws SignatureException Implements abstract java. Doc from java. Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.
|
engineVerify | back to summary |
---|---|
protected boolean engineVerify(byte[] sigBytes) throws SignatureException Implements abstract java. Doc from java. Verifies the passed-in signature.
|
ensureMessageInit | back to summary |
---|---|
private void ensureMessageInit() throws SignatureException |
initImpl | back to summary |
---|---|
private void initImpl(EdDSAParameters params) throws InvalidKeyException |
initImpl | back to summary |
---|---|
private void initImpl(NamedParameterSpec paramSpec) throws InvalidKeyException |
initMessage | back to summary |
---|---|
private void initMessage() throws SignatureException |
Modifier and Type | Field and Description |
---|---|
private final EdDSAParameters. |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | add(byte[] data, int off, int len)
Implements sun.
|
public byte[] |
digester | back to summary |
---|---|
private final EdDSAParameters. |
DigestAccumulator | back to summary |
---|---|
pack-priv DigestAccumulator(EdDSAParameters. |
add | back to summary |
---|---|
public void add(byte b) Implements sun.
|
add | back to summary |
---|---|
public void add(byte[] data, int off, int len) Implements sun.
|
getMessage | back to summary |
---|---|
public byte[] getMessage() Implements sun.
|
Access | Constructor and Description |
---|---|
public |
Ed25519 | back to summary |
---|---|
public Ed25519() |
Access | Constructor and Description |
---|---|
public |
Ed448 | back to summary |
---|---|
public Ed448() |
Modifier and Type | Field and Description |
---|---|
pack-priv ByteArrayOutputStream |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | add(byte[] data, int off, int len)
Implements sun.
|
public byte[] |
message | back to summary |
---|---|
pack-priv ByteArrayOutputStream message |
MemoryAccumulator | back to summary |
---|---|
private MemoryAccumulator() |
add | back to summary |
---|---|
public void add(byte b) Implements sun.
|
add | back to summary |
---|---|
public void add(byte[] data, int off, int len) Implements sun.
|
getMessage | back to summary |
---|---|
public byte[] getMessage() Implements sun.
|
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
public byte[] |
add | back to summary |
---|---|
public void add(byte b) |
add | back to summary |
---|---|
public void add(byte[] data, int off, int len) |
getMessage | back to summary |
---|---|
public byte[] getMessage() |