public enum RSASignature extends Enum<RSASignature>
Enum Constant and Description |
---|
MD5
MD5
|
NONE
NONE
|
SHA1
SHA1
|
SHA224
SHA224
|
SHA256
SHA256
|
SHA384
SHA384
|
SHA512
SHA512
|
Modifier and Type | Method and Description |
---|---|
String |
getModel() |
Signature |
getSignature() |
static Signature |
getSignature(String model) |
static RSASignature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RSASignature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RSASignature NONE
public static final RSASignature MD5
public static final RSASignature SHA1
public static final RSASignature SHA224
public static final RSASignature SHA256
public static final RSASignature SHA384
public static final RSASignature SHA512
public static RSASignature[] values()
for (RSASignature c : RSASignature.values()) System.out.println(c);
public static RSASignature 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 String getModel()
public Signature getSignature()
Copyright © 2024. All rights reserved.