Class PublicKeyFactoryBean

java.lang.Object
net.shibboleth.shared.spring.security.factory.PublicKeyFactoryBean
All Implemented Interfaces:
FactoryBean<PublicKey>

public class PublicKeyFactoryBean extends Object implements FactoryBean<PublicKey>
Spring bean factory for producing a PublicKey from a Resource. This factory bean supports DER and PEM encoded public key resources.
  • Field Details

    • resource

      @Nullable private Resource resource
      Public key resource.
    • key

      @Nullable private PublicKey key
      The singleton instance of the public key produced by this factory.
  • Constructor Details

    • PublicKeyFactoryBean

      public PublicKeyFactoryBean()
  • Method Details