Package org.xipki.security.shell
Class P11Actions.CsrP11
- java.lang.Object
-
- org.xipki.shell.XiAction
-
- org.xipki.security.shell.Actions.SecurityAction
-
- org.xipki.security.shell.Actions.BaseCsrGenAction
-
- org.xipki.security.shell.Actions.CsrGenAction
-
- org.xipki.security.shell.P11Actions.CsrP11
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Enclosing class:
- P11Actions
public static class P11Actions.CsrP11 extends Actions.CsrGenAction
-
-
Field Summary
-
Fields inherited from class org.xipki.security.shell.Actions.CsrGenAction
hashAlgo
-
Fields inherited from class org.xipki.security.shell.Actions.BaseCsrGenAction
outform, subjectAltNames, subjectInfoAccesses
-
Fields inherited from class org.xipki.security.shell.Actions.SecurityAction
securityFactory
-
-
Constructor Summary
Constructors Constructor Description CsrP11()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.xipki.security.SignerConfgetPkcs11SignerConf(java.lang.String pkcs11ModuleName, int slotIndex, java.lang.String keyLabel, byte[] keyId, int parallelism, org.xipki.security.HashAlgo hashAlgo, org.xipki.security.SignatureAlgoControl signatureAlgoControl)protected org.xipki.security.ConcurrentContentSignergetSigner()Gets the signer for the give signatureAlgoControl.-
Methods inherited from class org.xipki.security.shell.Actions.CsrGenAction
getSignatureAlgoControl
-
Methods inherited from class org.xipki.security.shell.Actions.BaseCsrGenAction
execute0, getAdditionalExtensions, getAdditionalNeedExtensionTypes, getAdditionalWantExtensionTypes, getPeerCertificates, getSubject
-
Methods inherited from class org.xipki.security.shell.Actions.SecurityAction
toUtcTimeyyyyMMddhhmmssZ
-
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
-
getSigner
protected org.xipki.security.ConcurrentContentSigner getSigner() throws java.lang.ExceptionDescription copied from class:Actions.BaseCsrGenActionGets the signer for the give signatureAlgoControl.- Specified by:
getSignerin classActions.BaseCsrGenAction- Returns:
- the signer
- Throws:
java.lang.Exception- If getting signer failed.
-
getPkcs11SignerConf
public static org.xipki.security.SignerConf getPkcs11SignerConf(java.lang.String pkcs11ModuleName, int slotIndex, java.lang.String keyLabel, byte[] keyId, int parallelism, org.xipki.security.HashAlgo hashAlgo, org.xipki.security.SignatureAlgoControl signatureAlgoControl)
-
-