public class BasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator extends Object implements KeyInfoGenerator
KeyInfoGenerator capable of handling the information
contained within a Credential.| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
BasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator(BasicKeyInfoGeneratorFactory.BasicOptions newOptions)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
KeyInfo |
generate(Credential credential)
Generate a new KeyInfo object based on keying material and other information within a credential.
|
protected void |
processEntityID(KeyInfo keyInfo,
Credential credential)
Process the value of
Credential.getEntityId(). |
protected void |
processKeyNames(KeyInfo keyInfo,
Credential credential)
Process the values of
Credential.getKeyNames(). |
protected void |
processPublicKey(KeyInfo keyInfo,
Credential credential)
Process the value of
Credential.getPublicKey(). |
protected BasicKeyInfoGeneratorFactory.BasicKeyInfoGenerator(BasicKeyInfoGeneratorFactory.BasicOptions newOptions)
newOptions - the options to be used by the generatorpublic KeyInfo generate(Credential credential) throws SecurityException
generate インタフェース内 KeyInfoGeneratorcredential - the credential containing keying material and possibly other informationSecurityException - thrown if there is any error generating the new KeyInfo from the credentialprotected void processKeyNames(KeyInfo keyInfo, Credential credential)
Credential.getKeyNames().keyInfo - the KeyInfo that is being builtcredential - the Credential that is geing processedprotected void processEntityID(KeyInfo keyInfo, Credential credential)
Credential.getEntityId().keyInfo - the KeyInfo that is being builtcredential - the Credential that is geing processedprotected void processPublicKey(KeyInfo keyInfo, Credential credential)
Credential.getPublicKey().keyInfo - the KeyInfo that is being builtcredential - the Credential that is geing processedCopyright © 2012. All Rights Reserved.