| Package | Description |
|---|---|
| org.xipki.security | |
| org.xipki.security.jce | |
| org.xipki.security.pkcs11 | |
| org.xipki.security.pkcs12 | |
| org.xipki.security.util |
| Modifier and Type | Method and Description |
|---|---|
void |
DfltConcurrentContentSigner.initialize(String conf,
org.xipki.password.PasswordResolver passwordResolver) |
void |
ConcurrentContentSigner.initialize(String conf,
org.xipki.password.PasswordResolver passwordResolver)
Initializes me.
|
void |
SignerFactory.refreshToken(String type) |
void |
SecurityFactory.refreshTokenForSignerType(String signerType) |
void |
SignerFactoryRegisterImpl.refreshTokenForSignerType(String signerType) |
void |
SignerFactoryRegister.refreshTokenForSignerType(String signerType) |
void |
SecurityFactoryImpl.refreshTokenForSignerType(String signerType) |
| Constructor and Description |
|---|
SignatureSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
Signature signer,
PrivateKey key) |
SignatureSigner(SignAlgo sigAlgo,
Signature signer,
PrivateKey key) |
XiWrappedContentSigner(org.bouncycastle.operator.ContentSigner signer,
boolean fixedAlgorithmIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentContentSigner |
JceSignerBuilder.createSigner(SignAlgo signAlgo,
int parallelism) |
| Constructor and Description |
|---|
JceSigner(PrivateKey signKey,
SignAlgo signAlgo,
String providerName,
Provider provider) |
JceSignerBuilder(PrivateKey privateKey,
PublicKey publicKey,
X509Cert[] certificateChain,
Provider provider) |
JceSignerBuilder(PrivateKey privateKey,
PublicKey publicKey,
X509Cert[] certificateChain,
String providerName) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentContentSigner |
P11ContentSignerBuilder.createSigner(SignAlgo signAlgo,
int parallelism) |
ConcurrentContentSigner |
P11MacContentSignerBuilder.createSigner(SignAlgo signAlgo,
int parallelism) |
byte[] |
P11Identity.digestSecretKey(long mechanism) |
P11CryptService |
P11CryptServiceFactoryImpl.getP11CryptService(String moduleName) |
P11CryptService |
P11CryptServiceFactory.getP11CryptService(String moduleName)
Gets the
P11CryptService of the given module moduleName. |
void |
P11SignerFactory.refreshToken(String type) |
byte[] |
P11PrivateKey.sign(long mechanism,
P11Params parameters,
byte[] content)
Signs the content.
|
| Constructor and Description |
|---|
P11ContentSignerBuilder(P11CryptService cryptService,
SecurityFactory securityFactory,
P11IdentityId identityId,
X509Cert[] certificateChain) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.operator.ContentSigner |
P12ContentSignerBuilder.createContentSigner(SignAlgo signAlgo,
SecureRandom random) |
ConcurrentContentSigner |
P12XdhMacContentSignerBuilder.createSigner(int parallelism) |
ConcurrentContentSigner |
P12MacContentSignerBuilder.createSigner(SignAlgo sigAlgo,
int parallelism) |
ConcurrentContentSigner |
P12ContentSignerBuilder.createSigner(SignAlgo signAlgo,
int parallelism,
SecureRandom random) |
static KeypairWithCert |
KeypairWithCert.fromKeystore(KeyStore keystore,
String keyname,
char[] keyPassword,
X509Cert[] certchain) |
static KeypairWithCert |
KeypairWithCert.fromKeystore(String keystoreType,
InputStream keystoreStream,
char[] keystorePassword,
String keyname,
char[] keyPassword,
X509Cert cert) |
static KeypairWithCert |
KeypairWithCert.fromKeystore(String keystoreType,
InputStream keystoreStream,
char[] keystorePassword,
String keyname,
char[] keyPassword,
X509Cert[] certchain) |
| Constructor and Description |
|---|
AESGmacContentSigner(SignAlgo signAlgo,
SecretKey signingKey) |
HmacContentSigner(SignAlgo algorithm,
SecretKey signingKey) |
P12ContentSignerBuilder(KeypairWithCert keypairWithCert) |
P12MacContentSignerBuilder(String keystoreType,
InputStream keystoreStream,
char[] keystorePassword,
String keyname,
char[] keyPassword) |
P12XdhMacContentSignerBuilder(KeypairWithCert keypairWithCert,
X509Cert peerCert) |
P12XdhMacContentSignerBuilder(X509Cert peerCert,
PrivateKey privateKey,
PublicKey publicKey) |
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.crypto.Signer |
SignerUtil.createPSSRSASigner(SignAlgo sigAlgo) |
static org.bouncycastle.crypto.Signer |
SignerUtil.createPSSRSASigner(SignAlgo sigAlgo,
org.bouncycastle.crypto.AsymmetricBlockCipher cipher) |
static byte[] |
SignerUtil.dsaSigPlainToX962(byte[] signature) |
static byte[] |
SignerUtil.dsaSigToPlain(BigInteger sigR,
BigInteger sigS,
int keyBitLen) |
static byte[] |
SignerUtil.dsaSigX962ToPlain(byte[] x962Signature,
int keyBitLen) |
static byte[] |
PKCS1Util.EMSA_PKCS1_v1_5_encoding(byte[] encodedDigestInfo,
int modulusBigLength) |
static byte[] |
PKCS1Util.EMSA_PKCS1_v1_5_encoding(byte[] hashValue,
int modulusBigLength,
HashAlgo hashAlgo) |
static byte[] |
PKCS1Util.EMSA_PSS_ENCODE(HashAlgo contentDigest,
byte[] hashValue,
HashAlgo mgfDigest,
int saltLen,
int modulusBitLength,
SecureRandom random) |
Copyright © 2022. All rights reserved.