Class KeyInfoTools
java.lang.Object
org.keycloak.saml.processing.api.util.KeyInfoTools
Tools for
KeyInfo
object manipulation.- Author:
- hmlnarik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
getContent
(Iterable<?> objects, Class<T> clazz) Returns the first object of the given class from the given Iterable.static KeyName
getKeyName
(KeyInfo keyInfo) static X509Certificate
getX509Certificate
(KeyInfo keyInfo) static X509Data
getX509Data
(KeyInfo keyInfo)
-
Constructor Details
-
KeyInfoTools
public KeyInfoTools()
-
-
Method Details
-
getContent
Returns the first object of the given class from the given Iterable.- Type Parameters:
T
-- Parameters:
objects
-clazz
-- Returns:
- The object or
null
if not found.
-
getKeyName
-
getX509Data
-
getX509Certificate
-