public enum EncryptionPolicy extends java.lang.Enum<EncryptionPolicy>
| Enum Constant and Description |
|---|
KNOWN_RECIPIENT
Key encryption: RSA encryption for use with Public Key, size 2048.
|
UNKNOWN_RECIPIENT
Key encryption: Advanced Encryption Standard (AES) Key Wrap Algorithm, size 128.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentEncryptionAlgorithmOID() |
int |
getKeksize() |
java.lang.String |
getKeyEncryptionAlgorithmOID() |
static EncryptionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionPolicy KNOWN_RECIPIENT
public static final EncryptionPolicy UNKNOWN_RECIPIENT
public static EncryptionPolicy[] values()
for (EncryptionPolicy c : EncryptionPolicy.values()) System.out.println(c);
public static EncryptionPolicy 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 getKeksize()
public java.lang.String getContentEncryptionAlgorithmOID()
public java.lang.String getKeyEncryptionAlgorithmOID()
Copyright © 2025 eHealth. All rights reserved.