public static final class JWEAlgorithm.Family extends LinkedHashSet<T>
Modifier and Type | Field and Description |
---|---|
static JWEAlgorithm.Family |
AES_GCM_KW
AES GCM key wrap.
|
static JWEAlgorithm.Family |
AES_KW
AES key wrap.
|
static JWEAlgorithm.Family |
ASYMMETRIC
Super family of all asymmetric (public / private key based)
JWE algorithms.
|
static JWEAlgorithm.Family |
ECDH_ES
Elliptic Curve Diffie-Hellman Ephemeral Static key
agreement.
|
static JWEAlgorithm.Family |
PBES2
Password-Based Cryptography Specification Version 2.0
|
static JWEAlgorithm.Family |
RSA
RSA key encryption.
|
static JWEAlgorithm.Family |
SYMMETRIC
Super family of all symmetric (shared key based) JWE
algorithms.
|
Constructor and Description |
---|
Family(JWEAlgorithm... algs)
Creates a new JWE algorithm 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) |
spliterator
equals, hashCode
containsAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray
parallelStream, removeIf, stream
public static final JWEAlgorithm.Family RSA
public static final JWEAlgorithm.Family AES_KW
public static final JWEAlgorithm.Family ECDH_ES
public static final JWEAlgorithm.Family AES_GCM_KW
public static final JWEAlgorithm.Family PBES2
public static final JWEAlgorithm.Family ASYMMETRIC
public static final JWEAlgorithm.Family SYMMETRIC
public Family(JWEAlgorithm... algs)
algs
- The JWE algorithms 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.