public static enum PKWareExtraHeader.EncryptionAlgorithm extends java.lang.Enum<PKWareExtraHeader.EncryptionAlgorithm>
Enum Constant and Description |
---|
AES128 |
AES192 |
AES256 |
DES |
RC2 |
RC2pre52 |
RC4 |
TripleDES168 |
TripleDES192 |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static PKWareExtraHeader.EncryptionAlgorithm |
getAlgorithmByCode(int code)
Returns the EncryptionAlgorithm for the given code or null if the
method is not known.
|
int |
getCode()
the algorithm id.
|
static PKWareExtraHeader.EncryptionAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PKWareExtraHeader.EncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKWareExtraHeader.EncryptionAlgorithm DES
public static final PKWareExtraHeader.EncryptionAlgorithm RC2pre52
public static final PKWareExtraHeader.EncryptionAlgorithm TripleDES168
public static final PKWareExtraHeader.EncryptionAlgorithm TripleDES192
public static final PKWareExtraHeader.EncryptionAlgorithm AES128
public static final PKWareExtraHeader.EncryptionAlgorithm AES192
public static final PKWareExtraHeader.EncryptionAlgorithm AES256
public static final PKWareExtraHeader.EncryptionAlgorithm RC2
public static final PKWareExtraHeader.EncryptionAlgorithm RC4
public static final PKWareExtraHeader.EncryptionAlgorithm UNKNOWN
public static PKWareExtraHeader.EncryptionAlgorithm[] values()
for (PKWareExtraHeader.EncryptionAlgorithm c : PKWareExtraHeader.EncryptionAlgorithm.values()) System.out.println(c);
public static PKWareExtraHeader.EncryptionAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public static PKWareExtraHeader.EncryptionAlgorithm getAlgorithmByCode(int code)
code
- the code of the algorithm"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"