Skip to content

Commit cd39549

Browse files
gefeilidghgit
authored andcommitted
Add java doc
1 parent 3e09351 commit cd39549

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

core/src/main/java/org/bouncycastle/crypto/generators/ECCSIKeyPairGenerator.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515
import org.bouncycastle.crypto.params.ECCSIPublicKeyParameters;
1616
import org.bouncycastle.math.ec.ECPoint;
1717

18+
/**
19+
* A key pair generator for the ECCSI scheme (Elliptic Curve-based Certificateless Signatures
20+
* for Identity-based Encryption) as defined in RFC 6507.
21+
*
22+
* @see <a href="https://datatracker.ietf.org/doc/html/rfc6507">
23+
* RFC 6507: Elliptic Curve-Based Certificateless Signatures for Identity-based Encryption (ECCSI)
24+
* </a>
25+
*/
26+
1827
public class ECCSIKeyPairGenerator
1928
implements AsymmetricCipherKeyPairGenerator
2029
{
@@ -23,6 +32,12 @@ public class ECCSIKeyPairGenerator
2332
private Digest digest;
2433
private ECCSIKeyGenerationParameters parameters;
2534

35+
/**
36+
* Initializes the key pair generator with the specified parameters.
37+
*
38+
* @param parameters an instance of {@link ECCSIKeyGenerationParameters} which encapsulates the elliptic
39+
* curve domain parameters, the digest algorithm, and an associated identifier.
40+
*/
2641
@Override
2742
public void init(KeyGenerationParameters parameters)
2843
{

0 commit comments

Comments
 (0)