Class PrivateKeyCallback.SubjectKeyIDRequest

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

    public static class PrivateKeyCallback.SubjectKeyIDRequest
    extends jakarta.security.auth.message.callback.PrivateKeyCallback.SubjectKeyIDRequest
    implements PrivateKeyCallback.Request
    Request type for private keys that are identified via a SubjectKeyID
    • Constructor Detail

      • SubjectKeyIDRequest

        public SubjectKeyIDRequest​(byte[] subjectKeyID)
        Construct a SubjectKeyIDRequest with an subjectKeyID.

        The subjectKeyID is used to directly identify the private key to be returned. The corresponding certificate chain for the private key is also returned.

        If the subjectKeyID is null, the handler of the callback relies on its own default.

        Parameters:
        subjectKeyID - identifier for the private key, or null.