public abstract class BaseCertprofile extends Certprofile
| Modifier | Constructor and Description |
|---|---|
protected |
BaseCertprofile() |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo |
checkPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey)
Checks the public key.
|
protected org.bouncycastle.asn1.x500.RDN |
createSubjectRdn(String text,
org.bouncycastle.asn1.ASN1ObjectIdentifier type,
RdnControl option,
int index) |
abstract Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,KeyParametersOption> |
getKeyAlgorithms() |
Date |
getNotBefore(Date requestedNotBefore)
Checks and gets the granted NotBefore.
|
SubjectInfo |
getSubject(org.bouncycastle.asn1.x500.X500Name requestedSubject)
Checks the requested subject.
|
protected abstract SubjectControl |
getSubjectControl()
Get the SubjectControl.
|
boolean |
incSerialNumberIfSubjectExists() |
void |
initialize(String data)
Initializes this object.
|
protected void |
verifySubjectDnOccurence(org.bouncycastle.asn1.x500.X500Name requestedSubject) |
getAiaControl, getCertLevel, getExtendedKeyUsages, getExtensionControls, getExtensions, getKeypairGenControl, getKeyUsage, getMaxCertSize, getPathLenBasicConstraint, getSignatureAlgorithms, getSubjectInfoAccessModes, getValidity, getVersion, includesIssuerAndSerialInAki, incSerialNumber, isOnlyForRa, isSerialNumberInReqPermitted, shutdownpublic abstract Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,KeyParametersOption> getKeyAlgorithms()
protected abstract SubjectControl getSubjectControl()
null.public Date getNotBefore(Date requestedNotBefore)
CertprofilegetNotBefore in class CertprofilerequestedNotBefore - Requested NotBefore. Could be null.public SubjectInfo getSubject(org.bouncycastle.asn1.x500.X500Name requestedSubject) throws CertprofileException, BadCertTemplateException
CertprofilegetSubject in class CertprofilerequestedSubject - Requested subject. Must not be null.CertprofileException - if error occurs.BadCertTemplateException - if the subject is not permitted.public boolean incSerialNumberIfSubjectExists()
incSerialNumberIfSubjectExists in class Certprofilepublic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo checkPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey)
throws CertprofileException,
BadCertTemplateException
CertprofilecheckPublicKey in class CertprofilepublicKey - Requested public key. Must not be null.BadCertTemplateException - If the publicKey does not have correct format or is not permitted.CertprofileExceptionpublic void initialize(String data) throws CertprofileException
Certprofileinitialize in class Certprofiledata - Configuration. Could be null.CertprofileException - if error during the initialization occurs.protected void verifySubjectDnOccurence(org.bouncycastle.asn1.x500.X500Name requestedSubject)
throws BadCertTemplateException
BadCertTemplateExceptionprotected org.bouncycastle.asn1.x500.RDN createSubjectRdn(String text, org.bouncycastle.asn1.ASN1ObjectIdentifier type, RdnControl option, int index) throws BadCertTemplateException
BadCertTemplateExceptionCopyright © 2018. All rights reserved.