public class JcaPKIXIdentityBuilder extends Object
| Constructor and Description |
|---|
JcaPKIXIdentityBuilder() |
| Modifier and Type | Method and Description |
|---|---|
JcaPKIXIdentity |
build(File keyFile,
File certificateFile)
Build an identity from the passed in key and certificate file in PEM format.
|
JcaPKIXIdentity |
build(InputStream keyStream,
InputStream certificateStream)
Build an identity from the passed in key and certificate stream in PEM format.
|
JcaPKIXIdentityBuilder |
setProvider(Provider provider) |
JcaPKIXIdentityBuilder |
setProvider(String providerName) |
public JcaPKIXIdentityBuilder setProvider(Provider provider)
public JcaPKIXIdentityBuilder setProvider(String providerName)
public JcaPKIXIdentity build(File keyFile, File certificateFile) throws IOException, CertificateException
keyFile - the PEM file containing the keycertificateFile - the PEM file containing the certificateIOException - on a general parsing error.CertificateException - on a certificate parsing error.public JcaPKIXIdentity build(InputStream keyStream, InputStream certificateStream) throws IOException, CertificateException
keyStream - the PEM stream containing the keycertificateStream - the PEM stream containing the certificateIOException - on a general parsing error.CertificateException - on a certificate parsing error.Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.