public JcaX509v3CertificateBuilder(X500Principal issuer,BigInteger serial,Date notBefore,Date notAfter,X500Principal subject,PublicKey publicKey){
  super(X500Name.getInstance(issuer.getEncoded()),serial,notBefore,notAfter,X500Name.getInstance(subject.getEncoded()),SubjectPublicKeyInfo.getInstance(publicKey.getEncoded()));
}

public JcaX509v3CertificateBuilder ( X500Principal issuer , BigInteger serial , Date notBefore , Date notAfter , X500Principal subject , PublicKey publicKey ) { super ( X500Name . getInstance ( issuer . getEncoded ( ) ) , serial , notBefore , notAfter , X500Name . getInstance ( subject . getEncoded ( ) ) , SubjectPublicKeyInfo . getInstance ( publicKey . getEncoded ( ) ) ) ; }
initialise the builder using x500principal objects and a publickey .
