public static final class JWSAlgorithm.Family extends LinkedHashSet<T>
Modifier and Type | Field and Description |
---|---|
static JWSAlgorithm.Family |
EC
Elliptic Curve signature (ECDSA) using a SHA-2 hash.
|
static JWSAlgorithm.Family |
HMAC_SHA
HMAC using a SHA-2 hash.
|
static JWSAlgorithm.Family |
RSA
RSA signature (RSASSA-PKCS-v1_5 or RSASSA-PSS) using a SHA-2
hash.
|
static JWSAlgorithm.Family |
SIGNATURE
Super family of all digital signature based JWS algorithms.
|
Constructor and Description |
---|
Family(JWSAlgorithm... algs)
Creates a new JWS 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 JWSAlgorithm.Family HMAC_SHA
public static final JWSAlgorithm.Family RSA
public static final JWSAlgorithm.Family EC
public static final JWSAlgorithm.Family SIGNATURE
public Family(JWSAlgorithm... algs)
algs
- The JWS 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.