Package org.keycloak.crypto
Class PublicKeysWrapper
- java.lang.Object
-
- org.keycloak.crypto.PublicKeysWrapper
-
public class PublicKeysWrapper extends Object
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description static PublicKeysWrapper
EMPTY
-
Constructor Summary
Constructors Constructor Description PublicKeysWrapper(List<KeyWrapper> keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyWrapper
getKeyByKidAndAlg(String kid, String alg)
List<KeyWrapper>
getKeys()
List<String>
getKids()
-
-
-
Field Detail
-
EMPTY
public static final PublicKeysWrapper EMPTY
-
-
Constructor Detail
-
PublicKeysWrapper
public PublicKeysWrapper(List<KeyWrapper> keys)
-
-
Method Detail
-
getKeys
public List<KeyWrapper> getKeys()
-
getKeyByKidAndAlg
public KeyWrapper getKeyByKidAndAlg(String kid, String alg)
-
-