Package com.nimbusds.jose
Class EncryptionMethod.Family
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<T>
com.nimbusds.jose.EncryptionMethod.Family
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<EncryptionMethod>
,Collection<EncryptionMethod>
,Set<EncryptionMethod>
- Enclosing class:
- EncryptionMethod
Encryption method family.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EncryptionMethod.Family
AES/CBC/HMAC with SHA-2.static final EncryptionMethod.Family
AES/GCM. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(EncryptionMethod alg) boolean
addAll
(Collection<? extends EncryptionMethod> 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
-
AES_CBC_HMAC_SHA
AES/CBC/HMAC with SHA-2. -
AES_GCM
AES/GCM.
-
-
Constructor Details
-
Family
Creates a new encryption method family.- Parameters:
encs
- The encryption methods 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>
-