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.FamilyAES GCM key wrap.static final JWEAlgorithm.FamilyAES key wrap.static final JWEAlgorithm.FamilySuper family of all asymmetric (public / private key based) JWE algorithms.static final JWEAlgorithm.FamilyPublic key authenticated encryption with ECDH-1PU.static final JWEAlgorithm.FamilyElliptic Curve Diffie-Hellman Ephemeral Static key agreement.static final JWEAlgorithm.FamilyPassword-Based Cryptography Specification Version 2.0static final JWEAlgorithm.FamilyRSA key encryption.static final JWEAlgorithm.FamilySuper family of all symmetric (shared key based) JWE algorithms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(JWEAlgorithm alg) booleanaddAll(Collection<? extends JWEAlgorithm> algs) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) Methods inherited from class java.util.LinkedHashSet
spliteratorMethods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, size, toArray, toArrayMethods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
addAllin interfaceCollection<T extends Algorithm>- Specified by:
addAllin interfaceSet<T extends Algorithm>- Overrides:
addAllin classAbstractCollection<T extends Algorithm>
-
remove
-
removeAll
- Specified by:
removeAllin interfaceCollection<T extends Algorithm>- Specified by:
removeAllin interfaceSet<T extends Algorithm>- Overrides:
removeAllin classAbstractSet<T extends Algorithm>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T extends Algorithm>- Specified by:
retainAllin interfaceSet<T extends Algorithm>- Overrides:
retainAllin classAbstractCollection<T extends Algorithm>
-