Package | Description |
---|---|
org.appng.core.domain |
The persistent domain objects.
|
org.appng.core.model |
The non-persistent domain model types.
|
org.appng.core.security.signing |
This package contains classes used for signing and verifying repository contents
|
Modifier and Type | Method and Description |
---|---|
Collection<X509Certificate> |
RepositoryImpl.getRemoteCerts()
Returns the certificate chain, if this is a signed remote repository.
|
Collection<X509Certificate> |
RepositoryImpl.getTrustedCertChain() |
void |
RepositoryImpl.setTrustedCertChain(Collection<X509Certificate> trustedCerts)
Sets the certificate chain to trust for this repository
|
Modifier and Type | Method and Description |
---|---|
Collection<X509Certificate> |
Repository.getTrustedCertChain()
Returns the certificate chain, if this is a remote repository and a certificate chain to be trusted has been
defined
|
Modifier and Type | Method and Description |
---|---|
static Signer |
Signer.getRepoValidator(ValidatorConfig config,
byte[] indexFileData,
byte[] signatureData) |
static Signer |
Signer.getRepoValidator(ValidatorConfig config,
byte[] indexFileData,
byte[] signatureData,
Collection<X509Certificate> trustedCerts) |
protected void |
CertChainValidator.init(InputStream is,
char[] storepass) |
void |
ValidatorConfig.setSigningCert(byte[] signCert,
BaseConfig.SigningAlgorithm sigAlgorithm) |
protected void |
BaseConfig.setSigningCerts(byte[] cert,
SigningException.ErrorType errorType) |
void |
ValidatorConfig.setupDefaultTruststore() |
static SignatureWrapper |
Signer.signRepo(Path repoPath,
SignerConfig config) |
boolean |
Signer.validatePackage(byte[] bytes,
String packageName) |
protected static void |
Signer.verifyIndex(ValidatorConfig config,
byte[] indexFileData) |
Constructor and Description |
---|
SignerConfig(String repoCodeName,
String repoDescription,
String repoVersion,
byte[] privateKey,
byte[] signCert,
BaseConfig.SigningAlgorithm sigAlgorithm,
BaseConfig.PrivateKeyFormat keyFormat) |
ValidatorConfig() |
Copyright © 2011–2020 aiticon GmbH. All rights reserved.