public enum Padding extends Enum<Padding>
Enum Constant and Description |
---|
OAEP |
OTHER |
PKCS1V15 |
PKCS5 |
PKCS7 |
RAW |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Padding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Padding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Padding PKCS5
public static final Padding PKCS7
public static final Padding PKCS1V15
public static final Padding OAEP
public static final Padding RAW
public static final Padding OTHER
public static final Padding UNKNOWN
public static Padding[] values()
for (Padding c : Padding.values()) System.out.println(c);
public static Padding 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 getName()
Copyright © 2017–2025 OWASP Foundation. All rights reserved.