Most visited

Recently visited

Added in API level 1

CertificateParsingException

public class CertificateParsingException
extends CertificateException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.cert.CertificateException
           ↳ java.security.cert.CertificateParsingException


证书解析异常。 只要分析了无效的DER编码证书或在证书中找到不支持的DER功能,就会引发此问题。

Summary

Public constructors

CertificateParsingException()

构造一个没有详细消息的CertificateParsingException。

CertificateParsingException(String message)

用指定的详细信息构造一个CertificateParsingException。

CertificateParsingException(String message, Throwable cause)

用指定的详细信息和原因创建一个 CertificateParsingException

CertificateParsingException(Throwable cause)

创建 CertificateParsingException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

CertificateParsingException

Added in API level 1
CertificateParsingException ()

构造一个没有详细消息的CertificateParsingException。 详细消息是描述此特定异常的字符串。

CertificateParsingException

Added in API level 1
CertificateParsingException (String message)

用指定的详细信息构造一个CertificateParsingException。 详细消息是描述此特定异常的字符串。

Parameters
message String: the detail message.

CertificateParsingException

Added in API level 1
CertificateParsingException (String message, 
                Throwable cause)

用指定的详细信息和原因创建一个 CertificateParsingException

Parameters
message String: the detail message (which is saved for later retrieval by the getMessage() method).
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

CertificateParsingException

Added in API level 1
CertificateParsingException (Throwable cause)

创建 CertificateParsingException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Parameters
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Hooray!