com.github.nagyesta.lowkeyvault.service.certificate.ReadOnlyKeyVaultCertificateEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowkey-vault-app Show documentation
Show all versions of lowkey-vault-app Show documentation
Assembled application of Lowkey Vault.
The newest version!
package com.github.nagyesta.lowkeyvault.service.certificate;
import com.github.nagyesta.lowkeyvault.service.certificate.id.VersionedCertificateEntityId;
import com.github.nagyesta.lowkeyvault.service.certificate.impl.ReadOnlyCertificatePolicy;
import com.github.nagyesta.lowkeyvault.service.common.BaseVaultEntity;
import com.github.nagyesta.lowkeyvault.service.key.ReadOnlyDeletedEntity;
import com.github.nagyesta.lowkeyvault.service.key.id.VersionedKeyEntityId;
import com.github.nagyesta.lowkeyvault.service.secret.id.VersionedSecretEntityId;
import org.bouncycastle.pkcs.PKCS10CertificationRequest;
import java.security.cert.Certificate;
public interface ReadOnlyKeyVaultCertificateEntity
extends BaseVaultEntity, ReadOnlyDeletedEntity {
VersionedCertificateEntityId getId();
VersionedKeyEntityId getKid();
VersionedSecretEntityId getSid();
Certificate getCertificate();
ReadOnlyCertificatePolicy getIssuancePolicy();
void updateIssuancePolicy(ReadOnlyCertificatePolicy policy);
ReadOnlyCertificatePolicy getOriginalCertificatePolicy();
String getOriginalCertificateContents();
PKCS10CertificationRequest getCertificateSigningRequest();
byte[] getThumbprint();
byte[] getEncodedCertificate();
byte[] getEncodedCertificateSigningRequest();
}