Class SimpleAsymmetricConfig


  • public class SimpleAsymmetricConfig
    extends Object
    High level configuration class that provides a fallback mechanism to load private/public keys from three different sources in the following order:

    A Spring Resource

    A String containing the public/private key

    A String containing the resource location that contains the public/private key

    Version:
    $Id: $Id
    Author:
    Ulises Bocchio
    • Constructor Detail

      • SimpleAsymmetricConfig

        public SimpleAsymmetricConfig()
    • Method Detail

      • loadPrivateKeyResource

        public org.springframework.core.io.Resource loadPrivateKeyResource()

        loadPrivateKeyResource.

        Returns:
        a Resource object
      • loadPublicKeyResource

        public org.springframework.core.io.Resource loadPublicKeyResource()

        loadPublicKeyResource.

        Returns:
        a Resource object