public class JcaPKCS10CertificationRequestBuilder extends PKCS10CertificationRequestBuilder
| Constructor and Description |
|---|
JcaPKCS10CertificationRequestBuilder(org.bouncycastle.asn1.x500.X500Name subject,
java.security.PublicKey publicKey)
Create a PKCS#10 builder for the passed in subject and JCA public key.
|
JcaPKCS10CertificationRequestBuilder(javax.security.auth.x500.X500Principal subject,
java.security.PublicKey publicKey)
Create a PKCS#10 builder for the passed in subject and JCA public key.
|
| Modifier and Type | Method and Description |
|---|---|
PKCS10CertificationRequest |
build(ContentSigner signer,
java.security.PublicKey altPublicKey,
ContentSigner altSigner)
Generate a PKCS#10 certification request carrying the alternate public key / alternate
signature attributes used by paired ("chameleon") certificates.
|
addAttribute, addAttribute, build, build, setAttribute, setAttribute, setLeaveOffEmptyAttributespublic JcaPKCS10CertificationRequestBuilder(org.bouncycastle.asn1.x500.X500Name subject,
java.security.PublicKey publicKey)
subject - an X500Name containing the subject associated with the request we are building.publicKey - a JCA public key that is to be associated with the request we are building.public JcaPKCS10CertificationRequestBuilder(javax.security.auth.x500.X500Principal subject,
java.security.PublicKey publicKey)
subject - an X500Principal containing the subject associated with the request we are building.publicKey - a JCA public key that is to be associated with the request we are building.public PKCS10CertificationRequest build(ContentSigner signer, java.security.PublicKey altPublicKey, ContentSigner altSigner)
signer - the content signer used to produce the primary signature.altPublicKey - the alternate public key as a JCA PublicKey.altSigner - the content signer used to produce the alternate signature value.