RSA
RSA
public static final AsymmetricAlgorithmEnum RSA
- http://www.rsa.com/
rsalabs/node.asp?id=2125
ECDSA
public static final AsymmetricAlgorithmEnum ECDSA
- http://www.faqs.org/rfcs/
rfc4050.html
DEFAULT
public static AsymmetricAlgorithmEnum DEFAULT
- Definicao de algoritmo padrao.
values
public static AsymmetricAlgorithmEnum[] 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 (AsymmetricAlgorithmEnum c : AsymmetricAlgorithmEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AsymmetricAlgorithmEnum 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
getAlgorithm
public String getAlgorithm()
getAsymmetricAlgorithmEnum
public static AsymmetricAlgorithmEnum getAsymmetricAlgorithmEnum(String algorithm)
- Recupera um item do enum correspondente ao parâmetro passado. O parâmetro
passado deverá ser igual (case insensitive) ao nome do algoritmo de algum
item deste enum, caso contrário retornará null.
Copyright © 2017 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.
|