Class BcPKCS10CertificationRequestBuilder

java.lang.Object
org.bouncycastle.pkcs.PKCS10CertificationRequestBuilder
org.bouncycastle.pkcs.bc.BcPKCS10CertificationRequestBuilder

public class BcPKCS10CertificationRequestBuilder extends PKCS10CertificationRequestBuilder
Extension of the PKCS#10 builder to support AsymmetricKey objects.
  • Constructor Details

    • BcPKCS10CertificationRequestBuilder

      public BcPKCS10CertificationRequestBuilder(org.bouncycastle.asn1.x500.X500Name subject, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) throws IOException
      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.
      Throws:
      IOException - if there is a problem encoding the public key.