Interface NetworkEncryptionUtils.KeyDecoder<T extends Key>

Enclosing class:
NetworkEncryptionUtils

private static interface NetworkEncryptionUtils.KeyDecoder<T extends Key>
A functional interface that decodes an encoded key.
See Also:
API Note:
Implementations should throw NetworkEncryptionException when the key is malformed.
Mappings:
Namespace Name
official ali$a
intermediary net/minecraft/class_3515$class_7424
named net/minecraft/network/encryption/NetworkEncryptionUtils$KeyDecoder
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(byte[] key)
     
  • Method Details

    • apply

      T apply(byte[] key) throws NetworkEncryptionException
      Throws:
      NetworkEncryptionException
      Mappings:
      Namespace Name Mixin selector
      official apply Lali$a;apply([B)Ljava/security/Key;
      intermediary apply Lnet/minecraft/class_3515$class_7424;apply([B)Ljava/security/Key;
      named apply Lnet/minecraft/network/encryption/NetworkEncryptionUtils$KeyDecoder;apply([B)Ljava/security/Key;