語言

CertPathValidatorException 建構函式

定義

多載

名稱 Description
CertPathValidatorException()

產生 CertPathValidatorException 一個沒有細節的訊息。

CertPathValidatorException(Throwable)

建立 CertPathValidatorException 一個包裹指定投擲物的 。

CertPathValidatorException(String)

建立 CertPathValidatorException 包含該細節訊息的 。

CertPathValidatorException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

CertPathValidatorException(String, Throwable)

建立 CertPathValidatorException 包含指定細節訊息與原因的 a。

CertPathValidatorException(String, Throwable, CertPath, Int32)

建立包含指定詳細訊息、原因、認證路徑及索引的 a CertPathValidatorException 。

CertPathValidatorException(String, Throwable, CertPath, Int32, CertPathValidatorException+IReason)

建立 CertPathValidatorException 包含指定詳細訊息、原因、認證路徑、索引及原因的 a。

CertPathValidatorException()

產生 CertPathValidatorException 一個沒有細節的訊息。

[Android.Runtime.Register(".ctor", "()V", "")]
public CertPathValidatorException();
屬性

備註

產生 CertPathValidatorException 一個沒有細節的訊息。

Java 文件 java.security.cert.CertPathValidatorException.CertPathValidatorException()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CertPathValidatorException(Throwable)

建立 CertPathValidatorException 一個包裹指定投擲物的 。

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public CertPathValidatorException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Security.Cert.CertPathValidatorException : Java.Lang.Throwable -> Java.Security.Cert.CertPathValidatorException

參數

cause
Throwable

原因(該方法會保存以供日後檢索 #getCause getCause() )。 (允許一個 null 值,表示原因不存在或未知。)

屬性

備註

建立 CertPathValidatorException 一個包裹指定投擲物的 。 這允許任何例外轉換為 CertPathValidatorException,同時保留包裹異常的資訊,對除錯可能很有用。 詳細訊息設為 (cause==null ? null : cause.toString())(通常包含類別及原因細節訊息)。

Java 文件 java.security.cert.CertPathValidatorException.CertPathValidatorException(java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CertPathValidatorException(String)

建立 CertPathValidatorException 包含該細節訊息的 。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CertPathValidatorException(string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.Cert.CertPathValidatorException : string -> Java.Security.Cert.CertPathValidatorException

參數

msg
String

細節訊息

屬性

備註

建立 CertPathValidatorException 包含該細節訊息的 。 詳細訊息是描述此特定例外的 。String

Java 文件 java.security.cert.CertPathValidatorException.CertPathValidatorException(java.lang.String)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CertPathValidatorException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected CertPathValidatorException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Cert.CertPathValidatorException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Cert.CertPathValidatorException

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CertPathValidatorException(String, Throwable)

建立 CertPathValidatorException 包含指定細節訊息與原因的 a。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public CertPathValidatorException(string? msg, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Security.Cert.CertPathValidatorException : string * Java.Lang.Throwable -> Java.Security.Cert.CertPathValidatorException

參數

msg
String

細節訊息

cause
Throwable

原因(該方法會保存以供日後檢索 #getCause getCause() )。 (允許一個 null 值,表示原因不存在或未知。)

屬性

備註

建立 CertPathValidatorException 包含指定細節訊息與原因的 a。

Java 文件 java.security.cert.CertPathValidatorException.CertPathValidatorException(java.lang.String, java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CertPathValidatorException(String, Throwable, CertPath, Int32)

建立包含指定詳細訊息、原因、認證路徑及索引的 a CertPathValidatorException 。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;I)V", "")]
public CertPathValidatorException(string? msg, Java.Lang.Throwable? cause, Java.Security.Cert.CertPath? certPath, int index);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;I)V", "")>]
new Java.Security.Cert.CertPathValidatorException : string * Java.Lang.Throwable * Java.Security.Cert.CertPath * int -> Java.Security.Cert.CertPathValidatorException

參數

msg
String

細節訊息(或 null 若無)

cause
Throwable

原因(或 null 若無)

certPath
CertPath

在遇到錯誤時,正在驗證過程中的認證路徑

index
Int32

該憑證在導致錯誤的認證路徑中索引(若不適用則為 -1)。 請注意,a CertPath 中的憑證清單是以零為基礎。

屬性

例外狀況

若 certPath 且 索引 null 不是 -1。

如果 certPath 不是 null ,且 索引 並未在認證路徑中引用憑證。

備註

建立包含指定詳細訊息、原因、認證路徑及索引的 a CertPathValidatorException 。

Java 文件 java.security.cert.CertPathValidatorException.CertPathValidatorException(java.lang.String, java.lang.Throwable, java.security.cert.CertPath, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CertPathValidatorException(String, Throwable, CertPath, Int32, CertPathValidatorException+IReason)

建立 CertPathValidatorException 包含指定詳細訊息、原因、認證路徑、索引及原因的 a。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V", "", ApiSince=24)]
public CertPathValidatorException(string? msg, Java.Lang.Throwable? cause, Java.Security.Cert.CertPath? certPath, int index, Java.Security.Cert.CertPathValidatorException.IReason? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V", "", ApiSince=24)>]
new Java.Security.Cert.CertPathValidatorException : string * Java.Lang.Throwable * Java.Security.Cert.CertPath * int * Java.Security.Cert.CertPathValidatorException.IReason -> Java.Security.Cert.CertPathValidatorException

參數

msg
String

詳細訊息(若無則為空)

cause
Throwable

原因(若無則為零)

certPath
CertPath

在遇到錯誤時,正在驗證過程中的認證路徑

index
Int32

該憑證在導致錯誤的認證路徑中索引(若不適用則為 -1)。 請注意,CertPath 中的憑證清單是以零為基礎。

reason
CertPathValidatorException.IReason

驗證失敗的原因

屬性

備註

Java 文件 java.security.cert.CertPathValidatorException.CertPathValidatorException(java.lang.String, java.lang.Throwable, java.security.cert.CertPath, int, java.security.cert.CertPathValidatorException.Reason)。

Java 參考 java.security.cert.CertPathValidatorException.CertPathValidatorException。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於