Class DefaultSecretBundle

  • All Implemented Interfaces:
    SecretBundle

    public class DefaultSecretBundle
    extends java.lang.Object
    implements SecretBundle
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSecret​(java.lang.String key, byte[] secret)  
      java.util.Map<java.lang.String,​byte[]> getSecrets()  
      byte[] getValue​(java.lang.String key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSecretBundle

        public DefaultSecretBundle()
    • Method Detail

      • getValue

        public byte[] getValue​(java.lang.String key)
        Specified by:
        getValue in interface SecretBundle
      • addSecret

        public void addSecret​(java.lang.String key,
                              byte[] secret)
      • getSecrets

        public java.util.Map<java.lang.String,​byte[]> getSecrets()
        Specified by:
        getSecrets in interface SecretBundle