public interface ClientAttributeCertificateResource
Modifier and Type | Method and Description |
---|---|
CertificateRepresentation |
generate()
Generate a new certificate with new key pair
|
byte[] |
generateAndGetKeystore(KeyStoreConfig config)
Generate a new keypair and certificate, and get the private key file
Generates a keypair and certificate and serves the private key in a specified keystore format.
|
CertificateRepresentation |
getKeyInfo()
Get key info
|
byte[] |
getKeystore(KeyStoreConfig config)
Get a keystore file for the client, containing private key and public certificate
|
CertificateRepresentation |
uploadJks(MultipartFormDataOutput output)
Upload certificate and eventually private key
|
CertificateRepresentation |
uploadJksCertificate(MultipartFormDataOutput output)
Upload only certificate, not private key
|
CertificateRepresentation getKeyInfo()
CertificateRepresentation generate()
CertificateRepresentation uploadJks(MultipartFormDataOutput output)
output
- CertificateRepresentation uploadJksCertificate(MultipartFormDataOutput output)
output
- byte[] getKeystore(KeyStoreConfig config)
config
- Keystore configuration as JSONbyte[] generateAndGetKeystore(KeyStoreConfig config)
config
- Keystore configuration as JSONCopyright © 2019 JBoss by Red Hat. All rights reserved.