Class PrivateKeyCallback.IssuerSerialNumRequest

  • All Implemented Interfaces:
    PrivateKeyCallback.Request, jakarta.security.auth.message.callback.PrivateKeyCallback.Request
    Enclosing class:
    PrivateKeyCallback

    public static class PrivateKeyCallback.IssuerSerialNumRequest
    extends jakarta.security.auth.message.callback.PrivateKeyCallback.IssuerSerialNumRequest
    implements PrivateKeyCallback.Request
    Request type for private keys that are identified via an issuer/serial number.
    • Constructor Detail

      • IssuerSerialNumRequest

        public IssuerSerialNumRequest​(X500Principal issuer,
                                      BigInteger serialNumber)
        Constructs a IssuerSerialNumRequest with an issuer/serial number.

        The issuer/serial number are used to identify a public key certificate. The corresponding private key is returned in the callback. The corresponding certificate chain for the private key is also returned. If the issuer/serialNumber parameters are null, the handler of the callback relies on its own defaults.

        Parameters:
        issuer - the X500Principal name of the certificate issuer, or null.
        serialNumber - the serial number of the certificate, or null.