public class X509Utils
extends java.lang.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 java.lang.String | getDisplayNameFromCertificate(java.security.cert.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 java.security.KeyStore | loadKeyStore(java.lang.String keystoreType,
            java.lang.String keystorePassword,
            java.io.InputStream is)Returns a key store loaded from the given stream. | 
@Nullable
public static java.lang.String getDisplayNameFromCertificate(@Nonnull
                                                                       java.security.cert.X509Certificate certificate,
                                                                       boolean withLocation)
                                                                throws java.security.cert.CertificateParsingException
java.security.cert.CertificateParsingExceptionpublic static java.security.KeyStore loadKeyStore(java.lang.String keystoreType,
                                                  @Nullable
                                                  java.lang.String keystorePassword,
                                                  java.io.InputStream is)
                                           throws java.security.KeyStoreException
java.security.KeyStoreException