Package org.opensaml.xmlsec.keyinfo
Interface KeyInfoGenerator
-
public interface KeyInfoGenerator
Interface for implementations which generate aKeyInfo
based on keying material and other information found within aCredential
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyInfo
generate(Credential credential)
Generate a new KeyInfo object based on keying material and other information within a credential.
-
-
-
Method Detail
-
generate
@Nullable KeyInfo generate(@Nullable Credential credential) throws SecurityException
Generate a new KeyInfo object based on keying material and other information within a credential.- Parameters:
credential
- the credential containing keying material and possibly other information- Returns:
- a new KeyInfo object or null if nothing was generated
- Throws:
SecurityException
- thrown if there is any error generating the new KeyInfo from the credential
-
-