public class X509Utils extends Object
PaymentSession
, the article "Working with
the payment protocol" on the bitcoinj website, or the Bitcoin developer guide.Constructor and Description |
---|
X509Utils() |
Modifier and Type | Method and Description |
---|---|
static String |
getDisplayNameFromCertificate(X509Certificate certificate,
boolean withLocation)
Returns either a string that "sums up" the certificate for humans, in a similar manner to what you might see
in a web browser, or null if one cannot be extracted.
|
static KeyStore |
loadKeyStore(String keystoreType,
String keystorePassword,
InputStream is)
Returns a key store loaded from the given stream.
|
@Nullable public static String getDisplayNameFromCertificate(@Nonnull X509Certificate certificate, boolean withLocation) throws CertificateParsingException
CertificateParsingException
public static KeyStore loadKeyStore(String keystoreType, @Nullable String keystorePassword, InputStream is) throws KeyStoreException
KeyStoreException
Copyright © 2016. All rights reserved.