Package org.xipki.cmp.client.shell
Class EnrollCertActions.EnrollCertAction
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.cmp.client.shell.Actions.ClientAction
-
- org.xipki.cmp.client.shell.Actions.AuthClientAction
-
- org.xipki.cmp.client.shell.EnrollCertActions.EnrollAction
-
- org.xipki.cmp.client.shell.EnrollCertActions.EnrollCertAction
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
EnrollCertActions.CmpEnrollP11,EnrollCertActions.CmpEnrollP12
- Enclosing class:
- EnrollCertActions
public abstract static class EnrollCertActions.EnrollCertAction extends EnrollCertActions.EnrollAction
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringhashAlgo-
Fields inherited from class org.xipki.cmp.client.shell.EnrollCertActions.EnrollAction
securityFactory
-
Fields inherited from class org.xipki.cmp.client.shell.Actions.ClientAction
caName, client
-
-
Constructor Summary
Constructors Constructor Description EnrollCertAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.xipki.cmp.client.EnrollCertRequest.EntrybuildEnrollCertRequestEntry(java.lang.String id, java.lang.String profile, org.bouncycastle.asn1.crmf.CertRequest certRequest)protected java.lang.Objectexecute0()protected org.xipki.cmp.client.EnrollCertRequest.EnrollTypegetCmpReqType()protected org.bouncycastle.asn1.x509.SubjectPublicKeyInfogetPublicKey()protected org.xipki.security.SignatureAlgoControlgetSignatureAlgoControl()protected abstract org.xipki.security.ConcurrentContentSignergetSigner()-
Methods inherited from class org.xipki.cmp.client.shell.EnrollCertActions.EnrollAction
enroll
-
Methods inherited from class org.xipki.cmp.client.shell.Actions.AuthClientAction
getRequestor
-
Methods inherited from class org.xipki.cmp.client.shell.Actions.ClientAction
getHashAlgo, getReqRespDebug, saveRequestResponse
-
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
-
-
-
-
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.ObjectCreationExceptionorg.xipki.cmp.client.CmpClientException
-
getPublicKey
protected org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey() throws java.lang.Exception- Specified by:
getPublicKeyin classEnrollCertActions.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:
buildEnrollCertRequestEntryin classEnrollCertActions.EnrollAction- Throws:
java.lang.Exception
-
execute0
protected java.lang.Object execute0() throws java.lang.Exception- Specified by:
execute0in classorg.xipki.shell.XiAction- Throws:
java.lang.Exception
-
getCmpReqType
protected org.xipki.cmp.client.EnrollCertRequest.EnrollType getCmpReqType() throws java.lang.Exception- Specified by:
getCmpReqTypein classEnrollCertActions.EnrollAction- Throws:
java.lang.Exception
-
-