public class IdentifiedCertprofile extends Object implements Closeable
| Constructor and Description |
|---|
IdentifiedCertprofile(org.xipki.ca.api.mgmt.entry.CertprofileEntry dbEntry,
org.xipki.ca.api.profile.Certprofile certprofile) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo |
checkPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey) |
void |
close() |
BigInteger |
generateSerialNumber(org.bouncycastle.asn1.x500.X500Name caSubject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo caPublicKeyInfo,
org.bouncycastle.asn1.x500.X500Name requestSubject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo,
org.xipki.util.ConfPairs caExtraControl) |
org.xipki.ca.api.profile.Certprofile.CertLevel |
getCertLevel() |
org.xipki.ca.api.profile.Certprofile |
getCertprofile() |
org.xipki.ca.api.mgmt.entry.CertprofileEntry |
getDbEntry() |
Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,org.xipki.ca.api.profile.Certprofile.ExtensionControl> |
getExtensionControls() |
org.xipki.ca.api.profile.ExtensionValues |
getExtensions(org.bouncycastle.asn1.x500.X500Name requestedSubject,
org.bouncycastle.asn1.x500.X500Name grantedSubject,
org.bouncycastle.asn1.x509.Extensions requestedExtensions,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo,
org.xipki.ca.api.PublicCaInfo publicCaInfo,
org.xipki.security.X509Cert crlSignerCert,
Date notBefore,
Date notAfter)
Get the extensions.
|
org.xipki.ca.api.NameId |
getIdent() |
org.xipki.ca.api.profile.KeypairGenControl |
getKeypairGenControl() |
int |
getMaxCertSize() |
org.xipki.ca.api.profile.NotAfterMode |
getNotAfterMode() |
Date |
getNotBefore(Date notBefore) |
Integer |
getPathLenBasicConstraint() |
String |
getSerialNumberMode() |
List<org.xipki.security.SignAlgo> |
getSignatureAlgorithms() |
org.xipki.ca.api.profile.Certprofile.SubjectInfo |
getSubject(org.bouncycastle.asn1.x500.X500Name requestedSubject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
org.bouncycastle.asn1.x509.SubjectKeyIdentifier |
getSubjectKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey) |
org.xipki.util.Validity |
getValidity() |
org.xipki.ca.api.profile.Certprofile.X509CertVersion |
getVersion() |
boolean |
hasNoWellDefinedExpirationDate() |
public IdentifiedCertprofile(org.xipki.ca.api.mgmt.entry.CertprofileEntry dbEntry,
org.xipki.ca.api.profile.Certprofile certprofile)
throws org.xipki.ca.api.profile.CertprofileException
org.xipki.ca.api.profile.CertprofileExceptionpublic org.xipki.ca.api.NameId getIdent()
public org.xipki.ca.api.profile.Certprofile getCertprofile()
public org.xipki.ca.api.mgmt.entry.CertprofileEntry getDbEntry()
public org.xipki.ca.api.profile.Certprofile.X509CertVersion getVersion()
public List<org.xipki.security.SignAlgo> getSignatureAlgorithms()
public org.xipki.util.Validity getValidity()
public boolean hasNoWellDefinedExpirationDate()
public org.xipki.ca.api.profile.NotAfterMode getNotAfterMode()
public org.xipki.ca.api.profile.Certprofile.SubjectInfo getSubject(org.bouncycastle.asn1.x500.X500Name requestedSubject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
throws org.xipki.ca.api.profile.CertprofileException,
org.xipki.util.exception.BadCertTemplateException
org.xipki.ca.api.profile.CertprofileExceptionorg.xipki.util.exception.BadCertTemplateExceptionpublic org.xipki.ca.api.profile.ExtensionValues getExtensions(org.bouncycastle.asn1.x500.X500Name requestedSubject,
org.bouncycastle.asn1.x500.X500Name grantedSubject,
org.bouncycastle.asn1.x509.Extensions requestedExtensions,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo,
org.xipki.ca.api.PublicCaInfo publicCaInfo,
org.xipki.security.X509Cert crlSignerCert,
Date notBefore,
Date notAfter)
throws org.xipki.ca.api.profile.CertprofileException,
org.xipki.util.exception.BadCertTemplateException
requestedSubject - Subject requested subject. Must not be null.grantedSubject - Granted subject. Must not be null.requestedExtensions - Extensions requested by the requestor. Could be null.publicKeyInfo - Subject public key. Must not be null.publicCaInfo - CA information. Must not be null.crlSignerCert - CRL signer certificate. Could be null.notBefore - NotBefore. Must not be null.notAfter - NotAfter. Must not be null.org.xipki.ca.api.profile.CertprofileExceptionorg.xipki.util.exception.BadCertTemplateExceptionpublic org.xipki.ca.api.profile.Certprofile.CertLevel getCertLevel()
public org.xipki.ca.api.profile.KeypairGenControl getKeypairGenControl()
public String getSerialNumberMode()
public BigInteger generateSerialNumber(org.bouncycastle.asn1.x500.X500Name caSubject, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo caPublicKeyInfo, org.bouncycastle.asn1.x500.X500Name requestSubject, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo, org.xipki.util.ConfPairs caExtraControl) throws org.xipki.ca.api.profile.CertprofileException
org.xipki.ca.api.profile.CertprofileExceptionpublic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo checkPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey)
throws org.xipki.ca.api.profile.CertprofileException,
org.xipki.util.exception.BadCertTemplateException
org.xipki.ca.api.profile.CertprofileExceptionorg.xipki.util.exception.BadCertTemplateExceptionpublic org.bouncycastle.asn1.x509.SubjectKeyIdentifier getSubjectKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey)
throws org.xipki.ca.api.profile.CertprofileException
org.xipki.ca.api.profile.CertprofileExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,org.xipki.ca.api.profile.Certprofile.ExtensionControl> getExtensionControls()
public Integer getPathLenBasicConstraint()
public int getMaxCertSize()
Copyright © 2022. All rights reserved.