Interface KeysetReader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.crypto.tink.proto.Keyset read()
      Tries to read and return a cleartext Keyset.
      com.google.crypto.tink.proto.EncryptedKeyset readEncrypted()
      Tries to read and return an EncryptedKeyset.
    • Method Detail

      • read

        com.google.crypto.tink.proto.Keyset read()
                                          throws java.io.IOException
        Tries to read and return a cleartext Keyset.
        Returns:
        the Keyset
        Throws:
        java.io.IOException
      • readEncrypted

        com.google.crypto.tink.proto.EncryptedKeyset readEncrypted()
                                                            throws java.io.IOException
        Tries to read and return an EncryptedKeyset.
        Returns:
        the EncryptedKeyset
        Throws:
        java.io.IOException