public class BcPKCS10CertificationRequestBuilder extends PKCS10CertificationRequestBuilder
Constructor and Description |
---|
BcPKCS10CertificationRequestBuilder(X500Name subject,
AsymmetricKeyParameter publicKey)
Create a PKCS#10 builder for the passed in subject and JCA public key.
|
addAttribute, addAttribute, build, setAttribute, setAttribute, setLeaveOffEmptyAttributes
public BcPKCS10CertificationRequestBuilder(X500Name subject, AsymmetricKeyParameter publicKey) throws IOException
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.IOException
- if there is a problem encoding the public key.Copyright © 2018 BouncyCastle.org. All rights reserved.