public enum FailInfo extends Enum<FailInfo>
| Enum Constant and Description |
|---|
badAlg
Unrecognized or unsupported algorithm identifier.
|
badCertId
No certificate could be identified matching the provided criteria.
|
badMessageCheck
integrity check failed.
|
badRequest
transaction not permitted or supported.
|
badTime
The signingTime attribute from the CMS, authenticatedAttributes was not sufficiently.
|
| Modifier and Type | Method and Description |
|---|---|
static FailInfo |
forValue(int code) |
int |
getCode() |
static FailInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailInfo badAlg
public static final FailInfo badMessageCheck
public static final FailInfo badRequest
public static final FailInfo badTime
public static final FailInfo badCertId
public static FailInfo[] values()
for (FailInfo c : FailInfo.values()) System.out.println(c);
public static FailInfo valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public static FailInfo forValue(int code)
Copyright © 2018. All rights reserved.