@Test public void calSignatureTest(){ AclSigner.calSignature("RocketMQ","12345678"); AclSigner.calSignature("RocketMQ".getBytes(),"12345678"); }
public static String calSignature(String data, String key) throws AclException { return calSignature(data, key, DEFAULT_ALGORITHM, DEFAULT_CHARSET); }
AclSigner { public static String calSignature(String data, String key) throws AclException { return calSignature(data, key, DEFAULT_ALGORITHM, DEFAULT_CHARSET); } }
AclSigner { public static String calSignature(String data, String key) throws AclException { return calSignature(data, key, DEFAULT_ALGORITHM, DEFAULT_CHARSET); }  }
AclSigner { public static String calSignature(String data, String key) throws AclException { return calSignature(data, key, DEFAULT_ALGORITHM, DEFAULT_CHARSET); }  static String calSignature(String data, String key); static String calSignature(String data, String key, SigningAlgorithm algorithm,
        Charset charset); static String calSignature(byte[] data, String key); static String calSignature(byte[] data, String key, SigningAlgorithm algorithm,
        Charset charset); }
AclSigner { public static String calSignature(String data, String key) throws AclException { return calSignature(data, key, DEFAULT_ALGORITHM, DEFAULT_CHARSET); }  static String calSignature(String data, String key); static String calSignature(String data, String key, SigningAlgorithm algorithm,
        Charset charset); static String calSignature(byte[] data, String key); static String calSignature(byte[] data, String key, SigningAlgorithm algorithm,
        Charset charset); static final Charset DEFAULT_CHARSET; static final SigningAlgorithm DEFAULT_ALGORITHM; }