| Package | Description |
|---|---|
| org.xipki.security | |
| org.xipki.security.pkcs11 | |
| org.xipki.security.pkcs12 | |
| org.xipki.security.util |
| Modifier and Type | Method and Description |
|---|---|
X509Cert |
KeyCertPair.getCertificate() |
X509Cert |
DfltConcurrentContentSigner.getCertificate() |
X509Cert |
ConcurrentContentSigner.getCertificate() |
X509Cert[] |
DfltConcurrentContentSigner.getCertificateChain() |
X509Cert[] |
ConcurrentContentSigner.getCertificateChain() |
| Modifier and Type | Method and Description |
|---|---|
List<X509Cert> |
SignerConf.getPeerCertificates() |
| Modifier and Type | Method and Description |
|---|---|
KeyCertPair |
SecurityFactory.createPrivateKeyAndCert(String type,
SignerConf conf,
X509Cert cert)
Create secret key and certificate pair.
|
KeyCertPair |
SecurityFactoryImpl.createPrivateKeyAndCert(String type,
SignerConf conf,
X509Cert cert) |
ConcurrentContentSigner |
SecurityFactory.createSigner(String type,
SignerConf conf,
X509Cert cert)
Creates signer.
|
ConcurrentContentSigner |
AbstractSecurityFactory.createSigner(String type,
SignerConf conf,
X509Cert cert) |
ConcurrentContentSigner |
SecurityFactory.createSigner(String type,
SignerConf conf,
X509Cert[] certs)
Creates signer.
|
ConcurrentContentSigner |
SecurityFactoryImpl.createSigner(String type,
SignerConf conf,
X509Cert[] certificateChain) |
byte[] |
SecurityFactory.extractMinimalKeyStore(String keystoreType,
byte[] keystoreBytes,
String keyname,
char[] password,
X509Cert[] newCertChain)
Extracts the keystore with minimal required information.
|
byte[] |
SecurityFactoryImpl.extractMinimalKeyStore(String keystoreType,
byte[] keystoreBytes,
String keyname,
char[] password,
X509Cert[] newCertChain) |
org.bouncycastle.operator.ContentVerifierProvider |
SecurityFactory.getContentVerifierProvider(X509Cert cert)
Gets the ContentVerifierProvider from the certificate.
|
org.bouncycastle.operator.ContentVerifierProvider |
AbstractSecurityFactory.getContentVerifierProvider(X509Cert cert) |
ConcurrentContentSigner |
SignerFactoryRegisterImpl.newSigner(SecurityFactory securityFactory,
String type,
SignerConf conf,
X509Cert[] certificateChain) |
ConcurrentContentSigner |
SignerFactoryRegister.newSigner(SecurityFactory securityFactory,
String type,
SignerConf conf,
X509Cert[] certificateChain)
Creates a new
ConcurrentContentSigner. |
ConcurrentContentSigner |
SignerFactory.newSigner(String type,
SignerConf conf,
X509Cert[] certificateChain)
Creates a new signer.
|
void |
DfltConcurrentContentSigner.setCertificateChain(X509Cert[] certificateChain) |
void |
ConcurrentContentSigner.setCertificateChain(X509Cert[] certchain)
Set the CertificateChain.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SignerConf.setPeerCertificates(List<X509Cert> peerCertificates) |
| Constructor and Description |
|---|
DHSigStaticKeyCertPair(PrivateKey privateKey,
X509Cert certificate) |
IssuerHash(HashAlgo hashAlgo,
X509Cert issuerCert) |
KeyCertPair(PrivateKey privateKey,
X509Cert certificate) |
| Modifier and Type | Field and Description |
|---|---|
protected X509Cert[] |
P11Identity.certificateChain |
| Modifier and Type | Method and Description |
|---|---|
X509Cert[] |
P11Identity.certificateChain() |
X509Cert |
P11Slot.exportCert(P11ObjectIdentifier objectId)
Exports the certificate of the given identifier
objectId. |
X509Cert |
P11Slot.getCert(P11ObjectIdentifier objectId)
Gets certificate with the given identifier
id. |
X509Cert |
P11CryptService.getCert(P11SlotIdentifier slotId,
P11ObjectIdentifier certId) |
X509Cert |
P11Slot.getCertForId(byte[] id)
Gets certificate with the given identifier
id. |
X509Cert |
P11Slot.P11SlotRefreshResult.getCertForId(byte[] id)
Returns the certificate of the given identifier
id. |
X509Cert |
P11Identity.getCertificate() |
| Modifier and Type | Method and Description |
|---|---|
Map<P11ObjectIdentifier,X509Cert> |
P11Slot.P11SlotRefreshResult.getCertificates() |
| Modifier and Type | Method and Description |
|---|---|
P11ObjectIdentifier |
P11Slot.addCert(X509Cert cert,
P11Slot.P11NewObjectControl control)
Adds the certificate to the PKCS#11 token under the given identifier
objectId. |
protected abstract P11ObjectIdentifier |
P11Slot.addCert0(X509Cert cert,
P11Slot.P11NewObjectControl control)
Adds the certificate to the PKCS#11 token under the given identifier
objectId. |
void |
P11Slot.P11SlotRefreshResult.addCertificate(P11ObjectIdentifier objectId,
X509Cert certificate) |
ConcurrentContentSigner |
P11SignerFactory.newSigner(String type,
SignerConf conf,
X509Cert[] certificateChain) |
void |
P11Identity.setCertificates(X509Cert[] certificateChain) |
void |
P11Slot.updateCertificate(P11ObjectIdentifier keyId,
X509Cert newCert)
Updates the certificate associated with the given ID
keyId with the given certificate
newCert. |
protected abstract void |
P11Slot.updateCertificate0(P11ObjectIdentifier keyId,
X509Cert newCert)
Updates the certificate associated with the given
objectId with the given certificate
newCert. |
| Constructor and Description |
|---|
P11ContentSignerBuilder(P11CryptService cryptService,
SecurityFactory securityFactory,
P11IdentityId identityId,
X509Cert[] certificateChain) |
P11Identity(P11Slot slot,
P11IdentityId id,
PublicKey publicKey,
X509Cert[] certificateChain) |
| Modifier and Type | Method and Description |
|---|---|
X509Cert |
P12ContentSignerBuilder.getCertificate() |
X509Cert[] |
KeypairWithCert.getCertificateChain() |
X509Cert[] |
P12ContentSignerBuilder.getCertificateChain() |
| Modifier and Type | Method and Description |
|---|---|
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) |
ConcurrentContentSigner |
P12SignerFactory.newSigner(String type,
SignerConf conf,
X509Cert[] certificateChain) |
| Constructor and Description |
|---|
KeypairWithCert(PrivateKey key,
X509Cert[] certificateChain) |
P12XdhMacContentSignerBuilder(KeypairWithCert keypairWithCert,
X509Cert peerCert) |
P12XdhMacContentSignerBuilder(X509Cert peerCert,
PrivateKey privateKey,
PublicKey publicKey) |
| Modifier and Type | Method and Description |
|---|---|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs)
Build the certificate path.
|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
boolean includeTargetCert)
Build the certificate path.
|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
Collection<X509Cert> trustAnchors,
boolean includeTargetCert) |
static X509Cert |
X509Util.parseCert(byte[] certBytes) |
static X509Cert |
X509Util.parseCert(File file) |
static X509Cert |
X509Util.parseCert(InputStream certStream) |
| Modifier and Type | Method and Description |
|---|---|
static List<X509Cert> |
X509Util.listCertificates(String encodedCerts) |
| Modifier and Type | Method and Description |
|---|---|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs)
Build the certificate path.
|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
boolean includeTargetCert)
Build the certificate path.
|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
Collection<X509Cert> trustAnchors,
boolean includeTargetCert) |
static String |
X509Util.encodeCertificates(X509Cert[] certchain) |
static String |
X509Util.formatCert(X509Cert cert,
boolean verbose) |
static boolean |
X509Util.issues(X509Cert issuerCert,
X509Cert cert) |
static String |
X509Util.toPemCert(X509Cert cert) |
| Modifier and Type | Method and Description |
|---|---|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs)
Build the certificate path.
|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
boolean includeTargetCert)
Build the certificate path.
|
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
Collection<X509Cert> trustAnchors,
boolean includeTargetCert) |
static X509Cert[] |
X509Util.buildCertPath(X509Cert targetCert,
Collection<X509Cert> certs,
Collection<X509Cert> trustAnchors,
boolean includeTargetCert) |
Copyright © 2020. All rights reserved.