Package org.xipki.cmp.client.shell
Class UpdateCertActions.UpdateAction
- 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.UpdateCertActions.UpdateAction
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
UpdateCertActions.CmpUpdateCagenkey,UpdateCertActions.UpdateCertAction
- Enclosing class:
- UpdateCertActions
public abstract static class UpdateCertActions.UpdateAction extends Actions.AuthClientAction
-
-
Field Summary
Fields Modifier and Type Field Description protected org.xipki.security.SecurityFactorysecurityFactory-
Fields inherited from class org.xipki.cmp.client.shell.Actions.ClientAction
caName, client
-
-
Constructor Summary
Constructors Constructor Description UpdateAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.xipki.cmp.client.EnrollCertRequest.EntrybuildEnrollCertRequestEntry(java.lang.String id, java.lang.String profile, org.bouncycastle.asn1.crmf.CertRequest certRequest)protected org.xipki.cmp.client.EnrollCertResultenroll()protected abstract org.bouncycastle.asn1.x509.SubjectPublicKeyInfogetPublicKey()-
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, execute0, 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 abstract org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey() throws java.lang.Exception- Throws:
java.lang.Exception
-
buildEnrollCertRequestEntry
protected abstract 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- Throws:
java.lang.Exception
-
enroll
protected org.xipki.cmp.client.EnrollCertResult enroll() throws java.lang.Exception- Throws:
java.lang.Exception
-
-