@Embeddable public class JWEEncryptionMethodEmbed extends Object
| Modifier and Type | Field and Description |
|---|---|
static JWEEncryptionMethodEmbed |
NONE |
| Constructor and Description |
|---|
JWEEncryptionMethodEmbed() |
JWEEncryptionMethodEmbed(com.nimbusds.jose.EncryptionMethod algorithm) |
| Modifier and Type | Method and Description |
|---|---|
com.nimbusds.jose.EncryptionMethod |
getAlgorithm() |
String |
getAlgorithmName()
Get the name of this algorithm, return null if no algorithm set.
|
static JWEEncryptionMethodEmbed |
getForAlgorithmName(String algorithmName) |
void |
setAlgorithm(com.nimbusds.jose.EncryptionMethod algorithm) |
void |
setAlgorithmName(String algorithmName)
Set the name of this algorithm.
|
String |
toString() |
public static final JWEEncryptionMethodEmbed NONE
public JWEEncryptionMethodEmbed()
public JWEEncryptionMethodEmbed(com.nimbusds.jose.EncryptionMethod algorithm)
public static JWEEncryptionMethodEmbed getForAlgorithmName(String algorithmName)
public String getAlgorithmName()
public void setAlgorithmName(String algorithmName)
algorithmName - public com.nimbusds.jose.EncryptionMethod getAlgorithm()
public void setAlgorithm(com.nimbusds.jose.EncryptionMethod algorithm)
algorithm - the algorithm to setCopyright © 2015. All Rights Reserved.