Skip to content

Commit

Permalink
some references, one typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wangweij committed Oct 11, 2024
1 parent 462092b commit 3039967
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private static KeyConsumerImpl getKeyConsumerImpl(NamedKEM kem,
///
/// @param name parameter name
/// @param pk public key in raw bytes
/// @param pk2 parsed public key, `null` if none.
/// @param pk2 parsed public key, `null` if none. See [#implCheckPublicKey].
/// @param sr SecureRandom object, `null` if not initialized
/// @return the key encapsulation message and the shared key (in this order)
/// @throws ProviderException if there is an internal error
Expand All @@ -165,7 +165,7 @@ private static KeyConsumerImpl getKeyConsumerImpl(NamedKEM kem,
///
/// @param name parameter name
/// @param sk private key in raw bytes
/// @param sk2 parsed private key, `null` if none.
/// @param sk2 parsed private key, `null` if none. See [#implCheckPrivateKey].
/// @param encap the key encapsulation message
/// @return the shared key
/// @throws ProviderException if there is an internal error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
/// `NamedX509Key` or `NamedPKCS8Key`. Existing implementations of algorithms
/// like EdDSA and XDH have been generating keys implementing `EdECKey` or
/// `XECKey` interfaces, and they are not rewritten with this framework.
/// `NamedParamterSpec` fields not implemented with this framework include
/// `NamedParameterSpec` fields not implemented with this framework include
/// Ed25519, Ed448, X25519, and X448.
public abstract class NamedKeyPairGenerator extends KeyPairGeneratorSpi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ protected AlgorithmParameters engineGetParameters() {
///
/// @param name parameter name
/// @param sk private key in raw bytes
/// @param sk2 parsed private key, `null` if none.
/// @param sk2 parsed private key, `null` if none. See [#implCheckPrivateKey].
/// @param msg the message
/// @param sr SecureRandom object, `null` if not initialized
/// @return the signature
Expand All @@ -177,7 +177,7 @@ protected abstract byte[] implSign(String name, byte[] sk, Object sk2,
///
/// @param name parameter name
/// @param pk public key in raw bytes
/// @param pk2 parsed public key, `null` if none.
/// @param pk2 parsed public key, `null` if none. See [#implCheckPublicKey].
/// @param msg the message
/// @param sig the signature
/// @return true if verified
Expand Down

0 comments on commit 3039967

Please sign in to comment.