public enum CryptoErrors extends Enum<CryptoErrors> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<CryptoErrors>
| Enum Constant and Description |
|---|
CHECKSUM
Error when calculating a checksum.
|
DECRYPTION
Error when decrypting data.
|
ENCRYPTION
Error when encrypting data.
|
KEY
Key related problems.
|
MISSING_KEY
A key required for the operation was not found.
|
PARAMETERS
Wrong or invalid parameters given to operation.
|
PASSPHRASE
The password for unlocking a key is wrong.
|
SIGNATURE
Error when creating a signature.
|
TRANSFORMATION
Error when transforming binary to armored.
|
VALIDATION
The signature could not be validated against the data.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static CryptoErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoErrors PARAMETERS
public static final CryptoErrors KEY
public static final CryptoErrors MISSING_KEY
public static final CryptoErrors PASSPHRASE
public static final CryptoErrors CHECKSUM
public static final CryptoErrors ENCRYPTION
public static final CryptoErrors DECRYPTION
public static final CryptoErrors TRANSFORMATION
public static final CryptoErrors SIGNATURE
public static final CryptoErrors VALIDATION
public static CryptoErrors[] values()
for (CryptoErrors c : CryptoErrors.values()) System.out.println(c);
public static CryptoErrors 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 Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<CryptoErrors>Copyright © 2024 MuleSoft, Inc.. All rights reserved.