Class EnrollCertActions.EnrollCertAction

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.xipki.cmp.client.EnrollCertRequest.Entry buildEnrollCertRequestEntry​(java.lang.String id, java.lang.String profile, org.bouncycastle.asn1.crmf.CertRequest certRequest)  
      protected java.lang.Object execute0()  
      protected org.xipki.cmp.client.EnrollCertRequest.EnrollType getCmpReqType()  
      protected org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey()  
      protected org.xipki.security.SignatureAlgoControl getSignatureAlgoControl()  
      protected abstract org.xipki.security.ConcurrentContentSigner getSigner()  
      • Methods inherited from class org.xipki.shell.XiAction

        confirm, derPemEncode, embedFileContent, encodeCert, encodeCrl, encodeCsr, execute, expandFilepath, expandFilepath, isBlank, isEmpty, isEnabled, isNotBlank, isNotEmpty, isTrue, print, println, readPassword, readPassword, readPasswordIfNotSet, readPasswordIfNotSet, readPrompt, resolvePassword, save, save, saveVerbose, saveVerbose, split, toBigInt, toBigInt
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • hashAlgo

        protected java.lang.String hashAlgo
    • Constructor Detail

      • EnrollCertAction

        public EnrollCertAction()
    • Method Detail

      • getSignatureAlgoControl

        protected org.xipki.security.SignatureAlgoControl getSignatureAlgoControl()
      • getSigner

        protected abstract org.xipki.security.ConcurrentContentSigner getSigner()
                                                                         throws org.xipki.util.exception.ObjectCreationException,
                                                                                org.xipki.cmp.client.CmpClientException
        Throws:
        org.xipki.util.exception.ObjectCreationException
        org.xipki.cmp.client.CmpClientException
      • getPublicKey

        protected org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey()
                                                                        throws java.lang.Exception
        Specified by:
        getPublicKey in class EnrollCertActions.EnrollAction
        Throws:
        java.lang.Exception
      • buildEnrollCertRequestEntry

        protected org.xipki.cmp.client.EnrollCertRequest.Entry buildEnrollCertRequestEntry​(java.lang.String id,
                                                                                           java.lang.String profile,
                                                                                           org.bouncycastle.asn1.crmf.CertRequest certRequest)
                                                                                    throws java.lang.Exception
        Specified by:
        buildEnrollCertRequestEntry in class EnrollCertActions.EnrollAction
        Throws:
        java.lang.Exception
      • execute0

        protected java.lang.Object execute0()
                                     throws java.lang.Exception
        Specified by:
        execute0 in class org.xipki.shell.XiAction
        Throws:
        java.lang.Exception
      • getCmpReqType

        protected org.xipki.cmp.client.EnrollCertRequest.EnrollType getCmpReqType()
                                                                           throws java.lang.Exception
        Specified by:
        getCmpReqType in class EnrollCertActions.EnrollAction
        Throws:
        java.lang.Exception