Class CaSignedCertificateBuilder
java.lang.Object
de.adorsys.keymanagement.bouncycastle.adapter.services.deprecated.generator.CaSignedCertificateBuilder
Build a certificate based on information passed to this object.
The subjectSampleCertificate can be used as a types. The ca can create some of the fields manually thus modifying suggestions provided by the sample certificate.
The object shall not be reused. After the build method is called, this object is not reusable.
- Author:
- fpo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.cert.X509CertificateHolderbuild(PrivateKey issuerPrivatekey) withCa(boolean ca) withKeyUsage(int keyUsage) withNotAfterInDays(Integer notAfterInDays) withNotBeforeInDays(Integer notBeforeInDays) withProvider(Provider provider) withSubjectDN(org.bouncycastle.asn1.x500.X500Name subjectDN) withSubjectPublicKey(PublicKey subjectPublicKey)
-
Constructor Details
-
CaSignedCertificateBuilder
public CaSignedCertificateBuilder()
-
-
Method Details
-
build
-
withProvider
-
withCa
-
withSubjectDN
-
withSubjectPublicKey
-
withNotAfterInDays
-
withNotBeforeInDays
-
withKeyUsage
-