/** * Get the factory which produces KeyInfoGenerators which can handle * the specified credential. * * @param credential the credential for which to locate a factory * @return a KeyInfoGeneratorFactory instance appropriate for the credential */ public KeyInfoGeneratorFactory getFactory(Credential credential) { return factories.get(credential.getCredentialType()); }
/** * Get the factory which produces KeyInfoGenerators which can handle * the specified credential. * * @param credential the credential for which to locate a factory * @return a KeyInfoGeneratorFactory instance appropriate for the credential */ public KeyInfoGeneratorFactory getFactory(Credential credential) { return factories.get(credential.getCredentialType()); }
} else { log.info("No factory for named KeyInfoGenerator {} was found for credential type{}", keyInfoGenName, encryptionCredential.getCredentialType().getName()); log.info("No KeyInfo will be generated for EncryptedData");
} else { log.info("No factory for named KeyInfoGenerator {} was found for credential type{}", keyInfoGenName, encryptionCredential.getCredentialType().getName()); log.info("No KeyInfo will be generated for EncryptedData");
} else { log.info("No factory for named KeyInfoGenerator {} was found for credential type {}", keyInfoGenName, encryptionCredential.getCredentialType().getName()); log.info("No KeyInfo will be generated for EncryptedKey");
} else { log.info("No factory for named KeyInfoGenerator {} was found for credential type {}", keyInfoGenName, encryptionCredential.getCredentialType().getName()); log.info("No KeyInfo will be generated for EncryptedKey");
signingCredential.getCredentialType().getName()); log.info("No KeyInfo will be generated for Signature");
signingCredential.getCredentialType().getName()); log.info("No KeyInfo will be generated for Signature");