Package org.bouncycastle.pkcs.jcajce
Class JcaPKCS10CertificationRequestBuilder
- java.lang.Object
-
- org.bouncycastle.pkcs.PKCS10CertificationRequestBuilder
-
- org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequestBuilder
-
public class JcaPKCS10CertificationRequestBuilder extends PKCS10CertificationRequestBuilder
Extension of the PKCS#10 builder to support PublicKey and X500Principal objects.
-
-
Constructor Summary
Constructors Constructor Description 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.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PKCS10CertificationRequest
build(org.bouncycastle.operator.ContentSigner signer, java.security.PublicKey altPublicKey, org.bouncycastle.operator.ContentSigner altSigner)
-
Methods inherited from class org.bouncycastle.pkcs.PKCS10CertificationRequestBuilder
addAttribute, addAttribute, build, build, setAttribute, setAttribute, setLeaveOffEmptyAttributes
-
-
-
-
Constructor Detail
-
JcaPKCS10CertificationRequestBuilder
public 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.- Parameters:
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.
-
JcaPKCS10CertificationRequestBuilder
public 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.- Parameters:
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.
-
-
Method Detail
-
build
public PKCS10CertificationRequest build(org.bouncycastle.operator.ContentSigner signer, java.security.PublicKey altPublicKey, org.bouncycastle.operator.ContentSigner altSigner)
-
-