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.FamilyAES/CBC/HMAC with SHA-2.static final EncryptionMethod.FamilyAES/GCM. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(EncryptionMethod alg) booleanaddAll(Collection<? extends EncryptionMethod> 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
-
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:
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>
-