Skip to content

Commit

Permalink
CRL doc improvements (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaarni committed Sep 18, 2023
1 parent ae4f2b8 commit 3a65aed
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
import org.bouncycastle.operator.OperatorCreationException;
import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder;


/**
* CertificateRevocationList is a builder for X.509 CRLs.
*/
public class CertificateRevocationList {

// Attributes set by user via builder methods.
Expand Down Expand Up @@ -75,6 +79,7 @@ public CertificateRevocationList nextUpdate(Date val) {

/**
* Defines the issuer of the CRL.
* Issuer will be used to sign the CRL.
* If the issuer is not set, the issuer of the revoked certificates is used.
*
* @param val Instance of {@link Credential} that will be used to sign the CRL.
Expand All @@ -87,6 +92,7 @@ public CertificateRevocationList issuer(Credential val) {

/**
* Adds a revoked certificate to the CRL.
* Note that all revoked certificates must have the same issuer.
*
* @param val Instance of {@link Credential} that will be revoked.
* @return The CertificateRevocationList itself.
Expand Down

0 comments on commit 3a65aed

Please sign in to comment.