public class RSACredentials extends Object implements Credentials
| Constructor and Description |
|---|
RSACredentials(com.rsa.jsafe.JSAFE_PrivateKey jsafePrivateKey,
com.rsa.certj.cert.X509Certificate cert,
com.rsa.certj.cert.Certificate[] certChain) |
RSACredentials(PrivateKey privateKey,
com.rsa.certj.cert.X509Certificate cert,
com.rsa.certj.cert.Certificate[] certChain) |
| Modifier and Type | Method and Description |
|---|---|
static com.rsa.certj.cert.Certificate[] |
buildRSACertChain(Certificate[] certChain)
Builds an RSA certificate chain from an array of JCE certificates.
|
com.rsa.jsafe.JSAFE_PrivateKey |
getJSAFEPrivateKey() |
static com.rsa.certj.cert.X509Certificate |
getRSACert(X509Certificate cert) |
com.rsa.certj.cert.X509Certificate |
getRSAX509Cert() |
com.rsa.certj.cert.Certificate[] |
getRSAX509CertChain()
returns RSA certificate chain.
|
boolean |
isHSM() |
static RSACredentials |
newInstance(Credentials credentials) |
static RSACredentials[] |
newInstance(Credentials[] credentials) |
public RSACredentials(com.rsa.jsafe.JSAFE_PrivateKey jsafePrivateKey,
com.rsa.certj.cert.X509Certificate cert,
com.rsa.certj.cert.Certificate[] certChain)
public RSACredentials(PrivateKey privateKey, com.rsa.certj.cert.X509Certificate cert, com.rsa.certj.cert.Certificate[] certChain) throws com.rsa.jsafe.JSAFE_UnimplementedException
com.rsa.jsafe.JSAFE_UnimplementedExceptionpublic static RSACredentials newInstance(Credentials credentials) throws com.rsa.jsafe.JSAFE_UnimplementedException, CertificateEncodingException, com.rsa.certj.cert.CertificateException
com.rsa.jsafe.JSAFE_UnimplementedExceptionCertificateEncodingExceptioncom.rsa.certj.cert.CertificateExceptionpublic static RSACredentials[] newInstance(Credentials[] credentials) throws com.rsa.jsafe.JSAFE_UnimplementedException, CertificateEncodingException, com.rsa.certj.cert.CertificateException
com.rsa.jsafe.JSAFE_UnimplementedExceptionCertificateEncodingExceptioncom.rsa.certj.cert.CertificateExceptionpublic static com.rsa.certj.cert.X509Certificate getRSACert(X509Certificate cert) throws CertificateEncodingException, com.rsa.certj.cert.CertificateException
CertificateEncodingExceptioncom.rsa.certj.cert.CertificateExceptionpublic com.rsa.certj.cert.X509Certificate getRSAX509Cert()
public com.rsa.jsafe.JSAFE_PrivateKey getJSAFEPrivateKey()
public com.rsa.certj.cert.Certificate[] getRSAX509CertChain()
public static com.rsa.certj.cert.Certificate[] buildRSACertChain(Certificate[] certChain) throws CertificateEncodingException, com.rsa.certj.cert.CertificateException
certChain - CertificateEncodingExceptioncom.rsa.certj.cert.CertificateExceptionpublic boolean isHSM()
isHSM in interface CredentialsCopyright © 2010 - 2020 Adobe. All Rights Reserved