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.
    Version:
    $Rev: 768352 $ $Date: 2009-04-24 12:26:01 -0400 (Fri, 24 Apr 2009) $
    • Field Detail

      • chain

        private java.security.cert.Certificate[] chain
      • key

        private java.security.PrivateKey key
    • Method Detail

      • getChain

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

        public java.security.PrivateKey getKey()
      • setKey

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