org.opensaml.xml.security.keyinfo
Interface KeyInfoGenerator

All Known Implementing Classes:
BasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator, StaticKeyInfoGenerator, X509KeyInfoGeneratorFactory.X509KeyInfoGenerator

public interface KeyInfoGenerator

Interface for implementations which generate a KeyInfo based on keying material and other information found within a Credential.


Method Summary
 KeyInfo generate(Credential credential)
          Generate a new KeyInfo object based on keying material and other information within a credential.
 

Method Detail

generate

KeyInfo generate(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
Throws:
SecurityException - thrown if there is any error generating the new KeyInfo from the credential


Copyright © 2006-2011 Internet2. All Rights Reserved.