Class BasicInlineCredentialFactoryBean

All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<BasicCredential>, InitializingBean

public class BasicInlineCredentialFactoryBean
extends AbstractBasicCredentialFactoryBean
Factory bean for BasicInline Credentials.
  • Field Details

    • publicKeyInfo

      @Nullable private byte[] publicKeyInfo
      Configured public key Info.
    • privateKeyInfo

      @Nullable private byte[] privateKeyInfo
      Configured private key Info.
    • secretKeyInfo

      @Nullable private byte[] secretKeyInfo
      Configured secret key Info.
  • Constructor Details

    • BasicInlineCredentialFactoryBean

      public BasicInlineCredentialFactoryBean()
  • Method Details

    • getPublicKeyInfo

      @Nullable public byte[] getPublicKeyInfo()
      Get the information used to generate the public key.
      Returns:
      Returns the info.
    • setPublicKeyInfo

      public void setPublicKeyInfo​(@Nullable byte[] info)
      Set the information used to generate the public key.
      Parameters:
      info - The info to set.
    • getPrivateKeyInfo

      @Nullable public byte[] getPrivateKeyInfo()
      Get the information used to generate the private key.
      Returns:
      Returns the info.
    • setPrivateKeyInfo

      public void setPrivateKeyInfo​(@Nullable byte[] info)
      Set the information used to generate the private key.
      Parameters:
      info - The info to set.
    • getSecretKeyInfo

      @Nullable public byte[] getSecretKeyInfo()
      Get the information used to generate the secret key.
      Returns:
      Returns the info.
    • setSecretKeyInfo

      public void setSecretKeyInfo​(@Nullable byte[] info)
      Set the information used to generate the secret key.
      Parameters:
      info - The info to set.
    • getPublicKey

      @Nullable protected PublicKey getPublicKey()
      return the configured Public Key.
      Specified by:
      getPublicKey in class AbstractBasicCredentialFactoryBean
      Returns:
      the key, or none if not configured.
    • getPrivateKey

      @Nullable protected PrivateKey getPrivateKey()
      Get the configured Private key.
      Specified by:
      getPrivateKey in class AbstractBasicCredentialFactoryBean
      Returns:
      the key or null if non configured
    • getSecretKey

      @Nullable protected SecretKey getSecretKey()
      return the configured Secret Key.
      Specified by:
      getSecretKey in class AbstractBasicCredentialFactoryBean
      Returns:
      the key, or none if not configured.