IT. Expert System.

Android Reference

CertPathValidatorException


java.security.cert

Class CertPathValidatorException

  • All Implemented Interfaces:
    Serializable


    public class CertPathValidatorException
    extends GeneralSecurityException
    The exception that is thrown when a certification path (or certificate chain) cannot be validated.

    A CertPathValidatorException may optionally include the certification path instance that failed the validation and the index of the failed certificate.

    See Also:
    Serialized Form
    • Constructor Detail

      • CertPathValidatorException

        public CertPathValidatorException(String msg,
                                  Throwable cause,
                                  CertPath certPath,
                                  int index)
        Creates a new CertPathValidatorException with the specified message , cause, certification path and certificate index in the certification path.
        Parameters:
        msg - the detail message for this exception.
        cause - the cause.
        certPath - the certification path that failed the validation.
        index - the index of the failed certificate.
        Throws:
        IllegalArgumentException - if certPath is null and index is not -1.
        IndexOutOfBoundsException - if certPath is not null and index is not referencing an certificate in the certification path.
      • CertPathValidatorException

        public CertPathValidatorException(String msg,
                                  Throwable cause)
        Creates a new CertPathValidatorException with the specified message and cause.
        Parameters:
        msg - the detail message for this exception.
        cause - the cause why the path could not be validated.
      • CertPathValidatorException

        public CertPathValidatorException(Throwable cause)
        Creates a new CertPathValidatorException with the specified cause.
        Parameters:
        cause - the cause why the path could not be validated.
      • CertPathValidatorException

        public CertPathValidatorException(String msg)
        Creates a new CertPathValidatorException with the specified message.
        Parameters:
        msg - the detail message for this exception.
      • CertPathValidatorException

        public CertPathValidatorException()
        Creates a new CertPathValidatorException.
    • Method Detail

      • getCertPath

        public CertPath getCertPath()
        Returns the certification path that failed validation.
        Returns:
        the certification path that failed validation, or null if none was specified.
      • getIndex

        public int getIndex()
        Returns the index of the failed certificate in the certification path.
        Returns:
        the index of the failed certificate in the certification path, or -1 if none was specified.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 11075 / . Delta: 0.09165 с