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
named net/minecraft/network/encryption/NetworkEncryptionUtils$KeyDecoder
intermediary net/minecraft/class_3515$class_7424
official axl$a
  • 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
      named apply Lnet/minecraft/network/encryption/NetworkEncryptionUtils$KeyDecoder;apply([B)Ljava/security/Key;
      intermediary apply Lnet/minecraft/class_3515$class_7424;apply([B)Ljava/security/Key;
      official apply Laxl$a;apply([B)Ljava/security/Key;