public enum StatusCode extends Enum<StatusCode>
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the ASN1 constant for this status code.
|
org.bouncycastle.asn1.ASN1Enumerated |
toAsn1()
Returns the corresponding ASN1 enumeration.
|
static StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusCode OK
public static final StatusCode TRANSFER_QUOTA_STATUS
public static final StatusCode MESSAGE_QUOTA_STATUS
public static final StatusCode PUZZLE_REQUIRED
public static final StatusCode TRANSFER_QUOTA_EXCEEDED
public static final StatusCode MESSAGE_QUOTA_EXCEEDED
public static final StatusCode IDENTITY_UNKNOWN
public static final StatusCode MESSAGE_CHUNK_MISSING
public static final StatusCode MESSAGE_LIFE_EXPIRED
public static final StatusCode PUZZLE_UNKNOWN
public static final StatusCode MAC_ALGORITHM_UNKNOWN
public static final StatusCode SYMMETRIC_ALGORITHM_UNKNOWN
public static final StatusCode ASYMMETRIC_ALGORITHM_UNKNOWN
public static final StatusCode PRNG_ALGORITHM_UNKNOWN
public static final StatusCode MISSING_PARAMETERS
public static final StatusCode BAD_PARAMETERS
public static final StatusCode HOST_ERROR
public static StatusCode[] values()
for (StatusCode c : StatusCode.values()) System.out.println(c);
public static StatusCode 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 getId()
Gets the ASN1 constant for this status code.
public org.bouncycastle.asn1.ASN1Enumerated toAsn1()
Returns the corresponding ASN1 enumeration.
Copyright © 2023. All rights reserved.