| Package | Description |
|---|---|
| org.xipki.security | |
| org.xipki.security.pkcs11 | |
| org.xipki.security.pkcs12 | |
| org.xipki.security.util |
| Modifier and Type | Class and Description |
|---|---|
class |
SignerException
Exception that indicates signer related errors.
|
| 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) |
XiWrappedContentSigner(org.bouncycastle.operator.ContentSigner signer,
boolean fixedAlgorithmIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentContentSigner |
P11ContentSignerBuilder.createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgId,
int parallelism) |
ConcurrentContentSigner |
P11MacContentSignerBuilder.createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgId,
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,
X509Certificate[] certificateChain) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentContentSigner |
P12ContentSignerBuilder.createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgId,
int parallelism,
SecureRandom random) |
ConcurrentContentSigner |
P12MacContentSignerBuilder.createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgId,
int parallelism,
SecureRandom random) |
ConcurrentContentSigner |
P12XdhMacContentSignerBuilder.createSigner(int parallelism) |
static KeypairWithCert |
KeypairWithCert.fromKeystore(KeyStore keystore,
String keyname,
char[] keyPassword,
X509Certificate[] certchain) |
static KeypairWithCert |
KeypairWithCert.fromKeystore(String keystoreType,
InputStream keystoreStream,
char[] keystorePassword,
String keyname,
char[] keyPassword,
X509Certificate cert) |
static KeypairWithCert |
KeypairWithCert.fromKeystore(String keystoreType,
InputStream keystoreStream,
char[] keystorePassword,
String keyname,
char[] keyPassword,
X509Certificate[] certchain) |
void |
P12SignerFactory.refreshToken(String type) |
| Constructor and Description |
|---|
AESGmacContentSigner(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
SecretKey signingKey) |
HmacContentSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
SecretKey signingKey) |
HmacContentSigner(HashAlgo hashAlgo,
org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
SecretKey signingKey) |
P12ContentSignerBuilder(KeypairWithCert keypairWithCert) |
P12ContentSignerBuilder(PrivateKey privateKey,
PublicKey publicKey) |
P12MacContentSignerBuilder(SecretKey key) |
P12MacContentSignerBuilder(String keystoreType,
InputStream keystoreStream,
char[] keystorePassword,
String keyname,
char[] keyPassword) |
P12XdhMacContentSignerBuilder(KeypairWithCert keypairWithCert,
X509Certificate peerCert) |
P12XdhMacContentSignerBuilder(X509Certificate peerCert,
PrivateKey privateKey,
PublicKey publicKey) |
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.crypto.signers.PSSSigner |
SignerUtil.createPSSRSASigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId) |
static org.bouncycastle.crypto.signers.PSSSigner |
SignerUtil.createPSSRSASigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
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[] |
SignerUtil.EMSA_PKCS1_v1_5_encoding(byte[] encodedDigestInfo,
int modulusBigLength) |
static byte[] |
SignerUtil.EMSA_PKCS1_v1_5_encoding(byte[] hashValue,
int modulusBigLength,
HashAlgo hashAlgo) |
static byte[] |
SignerUtil.EMSA_PSS_ENCODE(HashAlgo contentDigest,
byte[] hashValue,
HashAlgo mgfDigest,
int saltLen,
int modulusBitLength,
SecureRandom random) |
Copyright © 2019. All rights reserved.