Class KmsClient.KeyGenerationResult

  • Enclosing interface:
    KmsClient

    public static class KmsClient.KeyGenerationResult
    extends java.lang.Object
    For KMS systems that support key generation, this class keeps the key generation result - the raw secret key, and its wrap.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyGenerationResult​(java.nio.ByteBuffer key, java.lang.String wrappedKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer key()  
      java.lang.String wrappedKey()  
      • Methods inherited from class java.lang.Object

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

      • KeyGenerationResult

        public KeyGenerationResult​(java.nio.ByteBuffer key,
                                   java.lang.String wrappedKey)
    • Method Detail

      • key

        public java.nio.ByteBuffer key()
      • wrappedKey

        public java.lang.String wrappedKey()