Interface DecryptionKey<T extends CryptoKey>

Type Parameters:
T - the specific type of key this is.
All Known Implementing Classes:
DataDecryptionKey, KeyAgreementKey, KeyDecryptionKey

public interface DecryptionKey<T extends CryptoKey>
Marker interface for all key types that can be used for decryption.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the same object as a specific CryptoKey subclass.
  • Method Details

    • asCryptoKey

      T asCryptoKey()
      Returns the same object as a specific CryptoKey subclass.
      Returns:
      the same key as a CryptoKey.