public static interface
CertPathValidatorException.Reason
implements
Serializable
CertPathValidatorException.Reason
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eCertPathValidatorException.Reason\u003c/code\u003e is an interface that identifies the reason for certification path validation failure.\u003c/p\u003e\n"],["\u003cp\u003eIt has two known indirect subclasses: \u003ccode\u003eCertPathValidatorException.BasicReason\u003c/code\u003e for general validation failures and \u003ccode\u003ePKIXReason\u003c/code\u003e for failures specific to the PKIX standard.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBasicReason\u003c/code\u003e provides reasons for the invalidation of any certification path type, while \u003ccode\u003ePKIXReason\u003c/code\u003e focuses on X.509 certification paths according to RFC 3280.\u003c/p\u003e\n"]]],["`CertPathValidatorException.Reason` is an interface that indicates why a certification path validation failed. It is `Serializable` and has two known indirect subclasses: `BasicReason` and `PKIXReason`. `BasicReason` outlines general reasons for certification path invalidity, while `PKIXReason` details PKIX-specific reasons for invalidity based on the RFC 3280 standard for X.509 certification paths. These subclasses provide specific failure modes during path validation.\n"],null,["public static interface **CertPathValidatorException.Reason** implements [Serializable](../../../../reference/java/io/Serializable.html) \n\n|---|---|---|\n| Known Indirect Subclasses [CertPathValidatorException.BasicReason](../../../../reference/java/security/cert/CertPathValidatorException.BasicReason.html), [PKIXReason](../../../../reference/java/security/cert/PKIXReason.html) |--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------| | [CertPathValidatorException.BasicReason](../../../../reference/java/security/cert/CertPathValidatorException.BasicReason.html) | The BasicReason enumerates the potential reasons that a certification path of any type may be invalid. | | [PKIXReason](../../../../reference/java/security/cert/PKIXReason.html) | The `PKIXReason` enumerates the potential PKIX-specific reasons that an X.509 certification path may be invalid according to the PKIX (RFC 3280) standard. | |||\n\nThe reason the validation algorithm failed."]]