Package com.nimbusds.jose
Class JWEAlgorithm.Family
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<E>
-
- java.util.LinkedHashSet<T>
-
- com.nimbusds.jose.JWEAlgorithm.Family
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<JWEAlgorithm>,java.util.Collection<JWEAlgorithm>,java.util.Set<JWEAlgorithm>
- Enclosing class:
- JWEAlgorithm
public static final class JWEAlgorithm.Family extends java.util.LinkedHashSet<T>JWE algorithm family.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JWEAlgorithm.FamilyAES_GCM_KWAES GCM key wrap.static JWEAlgorithm.FamilyAES_KWAES key wrap.static JWEAlgorithm.FamilyASYMMETRICSuper family of all asymmetric (public / private key based) JWE algorithms.static JWEAlgorithm.FamilyECDH_1PUPublic key authenticated encryption with ECDH-1PU.static JWEAlgorithm.FamilyECDH_ESElliptic Curve Diffie-Hellman Ephemeral Static key agreement.static JWEAlgorithm.FamilyPBES2Password-Based Cryptography Specification Version 2.0static JWEAlgorithm.FamilyRSARSA key encryption.static JWEAlgorithm.FamilySYMMETRICSuper family of all symmetric (shared key based) JWE algorithms.
-
Constructor Summary
Constructors Constructor Description Family(JWEAlgorithm... algs)Creates a new JWE algorithm family.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(T alg)booleanaddAll(java.util.Collection<? extends T> algs)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)
-
-
-
Field Detail
-
RSA
public static final JWEAlgorithm.Family RSA
RSA key encryption.
-
AES_KW
public static final JWEAlgorithm.Family AES_KW
AES key wrap.
-
ECDH_ES
public static final JWEAlgorithm.Family ECDH_ES
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement.
-
ECDH_1PU
public static final JWEAlgorithm.Family ECDH_1PU
Public key authenticated encryption with ECDH-1PU.
-
AES_GCM_KW
public static final JWEAlgorithm.Family AES_GCM_KW
AES GCM key wrap.
-
PBES2
public static final JWEAlgorithm.Family PBES2
Password-Based Cryptography Specification Version 2.0
-
ASYMMETRIC
public static final JWEAlgorithm.Family ASYMMETRIC
Super family of all asymmetric (public / private key based) JWE algorithms.
-
SYMMETRIC
public static final JWEAlgorithm.Family SYMMETRIC
Super family of all symmetric (shared key based) JWE algorithms.
-
-
Constructor Detail
-
Family
public Family(JWEAlgorithm... algs)
Creates a new JWE algorithm family.- Parameters:
algs- The JWE algorithms of the family. Must not benull.
-
-