Class PrivateKeyCallback.IssuerSerialNumRequest

java.lang.Object
jakarta.security.auth.message.callback.PrivateKeyCallback.IssuerSerialNumRequest
All Implemented Interfaces:
PrivateKeyCallback.Request
Enclosing class:
PrivateKeyCallback

public static class PrivateKeyCallback.IssuerSerialNumRequest extends Object implements PrivateKeyCallback.Request
A request to retrieve a certificate chain and private key by the issuer distinguished name and certificate serial number.
  • Constructor Details

    • IssuerSerialNumRequest

      public IssuerSerialNumRequest(X500Principal issuer, BigInteger serialNum)
      Creates a new IssuerSerialNumRequest with the specified issuer and serial number.
      Parameters:
      issuer - the issuer distinguished name of the desired certificate
      serialNum - the serial number of the desired certificate
  • Method Details

    • getIssuer

      public X500Principal getIssuer()
      Returns the issuer distinguished name for this request.
      Returns:
      the X500Principal representing the issuer
    • getSerialNum

      public BigInteger getSerialNum()
      Returns the certificate serial number for this request.
      Returns:
      the serial number as a BigInteger