IT. Expert System.

Android Reference

PKIFailureInfo


org.apache.harmony.security.x509.tsp

Enum PKIFailureInfo

  • All Implemented Interfaces:
    Serializable, Comparable<PKIFailureInfo>


    public enum PKIFailureInfo
    extends Enum<PKIFailureInfo>
    Corresponds to PKIFailureInfo structure. See RFC 3161 - Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP) http://www.ietf.org/rfc/rfc3161.txt) PKIFailureInfo ::= BIT STRING { badAlg (0), -- unrecognized or unsupported Algorithm Identifier badRequest (2), -- transaction not permitted or supported badDataFormat (5), -- the data submitted has the wrong format timeNotAvailable (14), -- the TSA's time source is not available unacceptedPolicy (15), -- the requested TSA policy is not supported by the TSA unacceptedExtension (16), -- the requested extension is not supported by the TSA addInfoNotAvailable (17) -- the additional information requested could not be understood -- or is not available systemFailure (25) -- the request cannot be handled due to system failure } The value of PKIFailureInfo can take only one of the values, so it is represented by an integer here.
    • Enum Constant Detail

      • BAD_ALG

        public static final PKIFailureInfo BAD_ALG
        Unrecognized algorithm ID
      • BAD_REQUEST

        public static final PKIFailureInfo BAD_REQUEST
        Transaction is not supported
      • BAD_DATA_FORMAT

        public static final PKIFailureInfo BAD_DATA_FORMAT
        Data format is wrong
      • TIME_NOT_AVAILABLE

        public static final PKIFailureInfo TIME_NOT_AVAILABLE
        TSA cannot use the time source
      • UNACCEPTED_POLICY

        public static final PKIFailureInfo UNACCEPTED_POLICY
        The policy is not supported
      • UNACCEPTED_EXTENSION

        public static final PKIFailureInfo UNACCEPTED_EXTENSION
        The extension is not supported
      • ADD_INFO_NOT_AVAILABLE

        public static final PKIFailureInfo ADD_INFO_NOT_AVAILABLE
        The requested additional info is not available
      • SYSTEM_FAILURE

        public static final PKIFailureInfo SYSTEM_FAILURE
        System failure has occured
    • Method Detail

      • values

        public static PKIFailureInfo[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PKIFailureInfo c : PKIFailureInfo.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PKIFailureInfo valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Returns:
        int value of the failure
      • getMaxValue

        public static int getMaxValue()
        Returns:
        maximum of values in the enum
      • getInstance

        public static PKIFailureInfo getInstance(int value)
        Parameters:
        value -
        Returns:


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: 956 / . Delta: 0.01702 с