public enum EncryptAlgorithm extends Enum<EncryptAlgorithm>
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Enum Constant and Description |
---|
MD2withRSA |
MD5withRSA |
NONEwithDSA
DSA
|
NONEwithECDSA
ECDSA
|
NONEwithRSA
RSA
|
SHA1withDSA |
SHA1withECDSA |
SHA1withRSA |
SHA256withECDSA |
SHA256withRSA |
SHA384withECDSA |
SHA384withRSA |
SHA512withECDSA |
SHA512withRSA |
Modifier and Type | Method and Description |
---|---|
static EncryptAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptAlgorithm NONEwithRSA
public static final EncryptAlgorithm MD2withRSA
public static final EncryptAlgorithm MD5withRSA
public static final EncryptAlgorithm SHA1withRSA
public static final EncryptAlgorithm SHA256withRSA
public static final EncryptAlgorithm SHA384withRSA
public static final EncryptAlgorithm SHA512withRSA
public static final EncryptAlgorithm NONEwithDSA
public static final EncryptAlgorithm SHA1withDSA
public static final EncryptAlgorithm NONEwithECDSA
public static final EncryptAlgorithm SHA1withECDSA
public static final EncryptAlgorithm SHA256withECDSA
public static final EncryptAlgorithm SHA384withECDSA
public static final EncryptAlgorithm SHA512withECDSA
public static EncryptAlgorithm[] values()
for (EncryptAlgorithm c : EncryptAlgorithm.values()) System.out.println(c);
public static EncryptAlgorithm 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 nullCopyright © 2024. All rights reserved.