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:
Serializable
,Cloneable
,Iterable<JWEAlgorithm>
,Collection<JWEAlgorithm>
,Set<JWEAlgorithm>
- Enclosing class:
- JWEAlgorithm
JWE algorithm family.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JWEAlgorithm.Family
AES GCM key wrap.static final JWEAlgorithm.Family
AES key wrap.static final JWEAlgorithm.Family
Super family of all asymmetric (public / private key based) JWE algorithms.static final JWEAlgorithm.Family
Public key authenticated encryption with ECDH-1PU.static final JWEAlgorithm.Family
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement.static final JWEAlgorithm.Family
Password-Based Cryptography Specification Version 2.0static final JWEAlgorithm.Family
RSA key encryption.static final JWEAlgorithm.Family
Super family of all symmetric (shared key based) JWE algorithms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(JWEAlgorithm alg) boolean
addAll
(Collection<? extends JWEAlgorithm> algs) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) Methods inherited from class java.util.LinkedHashSet
spliterator
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, size, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
RSA
RSA key encryption. -
AES_KW
AES key wrap. -
ECDH_ES
Elliptic Curve Diffie-Hellman Ephemeral Static key agreement. -
ECDH_1PU
Public key authenticated encryption with ECDH-1PU. -
AES_GCM_KW
AES GCM key wrap. -
PBES2
Password-Based Cryptography Specification Version 2.0 -
ASYMMETRIC
Super family of all asymmetric (public / private key based) JWE algorithms. -
SYMMETRIC
Super family of all symmetric (shared key based) JWE algorithms.
-
-
Constructor Details
-
Family
Creates a new JWE algorithm family.- Parameters:
algs
- The JWE algorithms of the family. Must not benull
.
-
-
Method Details
-
add
-
addAll
- Specified by:
addAll
in interfaceCollection<T extends Algorithm>
- Specified by:
addAll
in interfaceSet<T extends Algorithm>
- Overrides:
addAll
in classAbstractCollection<T extends Algorithm>
-
remove
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T extends Algorithm>
- Specified by:
removeAll
in interfaceSet<T extends Algorithm>
- Overrides:
removeAll
in classAbstractSet<T extends Algorithm>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T extends Algorithm>
- Specified by:
retainAll
in interfaceSet<T extends Algorithm>
- Overrides:
retainAll
in classAbstractCollection<T extends Algorithm>
-