Package org.xipki.cmp.client.shell
Class EnrollCertActions.CmpEnrollCagenkey
- 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.CmpEnrollCagenkey
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Enclosing class:
- EnrollCertActions
public static class EnrollCertActions.CmpEnrollCagenkey extends EnrollCertActions.EnrollAction
-
-
Field Summary
-
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 CmpEnrollCagenkey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.xipki.cmp.client.EnrollCertRequest.EntrybuildEnrollCertRequestEntry(String id, String profile, org.bouncycastle.asn1.crmf.CertRequest certRequest)protected Objectexecute0()protected org.xipki.cmp.client.EnrollCertRequest.EnrollTypegetCmpReqType()protected org.bouncycastle.asn1.x509.SubjectPublicKeyInfogetPublicKey()-
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
-
getPublicKey
protected org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey() throws Exception- Specified by:
getPublicKeyin classEnrollCertActions.EnrollAction- Throws:
Exception
-
buildEnrollCertRequestEntry
protected org.xipki.cmp.client.EnrollCertRequest.Entry buildEnrollCertRequestEntry(String id, String profile, org.bouncycastle.asn1.crmf.CertRequest certRequest) throws Exception
- Specified by:
buildEnrollCertRequestEntryin classEnrollCertActions.EnrollAction- Throws:
Exception
-
execute0
protected Object execute0() throws Exception
- Specified by:
execute0in classorg.xipki.shell.XiAction- Throws:
Exception
-
getCmpReqType
protected org.xipki.cmp.client.EnrollCertRequest.EnrollType getCmpReqType() throws Exception- Specified by:
getCmpReqTypein classEnrollCertActions.EnrollAction- Throws:
Exception
-
-