public static final class EncryptionMethod.Family extends LinkedHashSet<T>
| Modifier and Type | Field and Description |
|---|---|
static EncryptionMethod.Family |
AES_CBC_HMAC_SHA
AES/CBC/HMAC with SHA-2.
|
static EncryptionMethod.Family |
AES_GCM
AES/GCM.
|
| Constructor and Description |
|---|
Family(EncryptionMethod... encs)
Creates a new encryption method family.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T alg) |
boolean |
addAll(Collection<? extends T> algs) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
spliteratorequals, hashCodecontainsAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArrayparallelStream, removeIf, streampublic static final EncryptionMethod.Family AES_CBC_HMAC_SHA
public static final EncryptionMethod.Family AES_GCM
public Family(EncryptionMethod... encs)
encs - The encryption methods of the family. Must not
be null.public boolean add(T alg)
public boolean addAll(Collection<? extends T> algs)
addAll in interface Collection<T extends Algorithm>addAll in interface Set<T extends Algorithm>addAll in class AbstractCollection<T extends Algorithm>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T extends Algorithm>removeAll in interface Set<T extends Algorithm>removeAll in class AbstractSet<T extends Algorithm>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T extends Algorithm>retainAll in interface Set<T extends Algorithm>retainAll in class AbstractCollection<T extends Algorithm>Copyright © 2017 Connect2id Ltd.. All rights reserved.