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:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<EncryptionMethod>,java.util.Collection<EncryptionMethod>,java.util.Set<EncryptionMethod>
- Enclosing class:
- EncryptionMethod
public static final class EncryptionMethod.Family extends java.util.LinkedHashSet<T>Encryption method family.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EncryptionMethod.FamilyAES_CBC_HMAC_SHAAES/CBC/HMAC with SHA-2.static EncryptionMethod.FamilyAES_GCMAES/GCM.
-
Constructor Summary
Constructors Constructor Description Family(EncryptionMethod... encs)Creates a new encryption method 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
-
AES_CBC_HMAC_SHA
public static final EncryptionMethod.Family AES_CBC_HMAC_SHA
AES/CBC/HMAC with SHA-2.
-
AES_GCM
public static final EncryptionMethod.Family AES_GCM
AES/GCM.
-
-
Constructor Detail
-
Family
public Family(EncryptionMethod... encs)
Creates a new encryption method family.- Parameters:
encs- The encryption methods of the family. Must not benull.
-
-