Class Actions.BaseCsrGenAction

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object execute0()  
      protected java.util.List<org.bouncycastle.asn1.x509.Extension> getAdditionalExtensions()  
      protected java.util.List<java.lang.String> getAdditionalNeedExtensionTypes()  
      protected java.util.List<java.lang.String> getAdditionalWantExtensionTypes()  
      protected java.util.List<org.xipki.security.X509Cert> getPeerCertificates()  
      protected abstract org.xipki.security.ConcurrentContentSigner getSigner()
      Gets the signer for the give signatureAlgoControl.
      protected org.bouncycastle.asn1.x500.X500Name getSubject​(java.lang.String subjectText)  
      • 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

      • subjectAltNames

        protected java.util.List<java.lang.String> subjectAltNames
      • subjectInfoAccesses

        protected java.util.List<java.lang.String> subjectInfoAccesses
      • outform

        protected java.lang.String outform
    • Constructor Detail

      • BaseCsrGenAction

        public BaseCsrGenAction()
    • Method Detail

      • getSigner

        protected abstract org.xipki.security.ConcurrentContentSigner getSigner()
                                                                         throws java.lang.Exception
        Gets the signer for the give signatureAlgoControl.
        Returns:
        the signer
        Throws:
        java.lang.Exception - If getting signer failed.
      • getPeerCertificates

        protected java.util.List<org.xipki.security.X509Cert> getPeerCertificates()
                                                                           throws java.security.cert.CertificateException,
                                                                                  java.io.IOException
        Throws:
        java.security.cert.CertificateException
        java.io.IOException
      • execute0

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

        protected org.bouncycastle.asn1.x500.X500Name getSubject​(java.lang.String subjectText)
      • getAdditionalNeedExtensionTypes

        protected java.util.List<java.lang.String> getAdditionalNeedExtensionTypes()
      • getAdditionalWantExtensionTypes

        protected java.util.List<java.lang.String> getAdditionalWantExtensionTypes()
      • getAdditionalExtensions

        protected java.util.List<org.bouncycastle.asn1.x509.Extension> getAdditionalExtensions()
                                                                                        throws org.xipki.security.BadInputException
        Throws:
        org.xipki.security.BadInputException