Class PrivateKeyCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class PrivateKeyCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    Callback that enables an authentication module to request a certificate chain and private key from the runtime. The information specifying the chain and key may be an alias, a digest, a subject key, or an issuer ID. Other request types may be supported.
    • Method Detail

      • setKey

        public void setKey​(java.security.PrivateKey key,
                           java.security.cert.Certificate[] chain)
      • getKey

        public java.security.PrivateKey getKey()
      • getChain

        public java.security.cert.Certificate[] getChain()