Class KeyInfoTools
- java.lang.Object
- 
- org.keycloak.saml.processing.api.util.KeyInfoTools
 
- 
- 
Constructor SummaryConstructors Constructor Description KeyInfoTools()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TgetContent(Iterable<?> objects, Class<T> clazz)Returns the first object of the given class from the given Iterable.static KeyNamegetKeyName(KeyInfo keyInfo)static X509CertificategetX509Certificate(KeyInfo keyInfo)static X509DatagetX509Data(KeyInfo keyInfo)
 
- 
- 
- 
Method Detail- 
getContentpublic static <T> T getContent(Iterable<?> objects, Class<T> clazz) Returns the first object of the given class from the given Iterable.- Type Parameters:
- T-
- Parameters:
- objects-
- clazz-
- Returns:
- The object or nullif not found.
 
 - 
getX509Certificatepublic static X509Certificate getX509Certificate(KeyInfo keyInfo) 
 
- 
 
-