public static Association createHmacSha1(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA1_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA1, handle, macKey, expDate); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expiryIn); }
public static Association generateHmacSha1(String handle, int expiryIn) { SecretKey macKey = generateMacSha1Key(); if (DEBUG) _log.debug("Generated SHA1 MAC key: " + macKey); return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expiryIn); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expDate); }
public static Association generateHmacSha256(String handle, int expiryIn) { SecretKey macKey = generateMacSha256Key(); if (DEBUG) _log.debug("Generated SHA256 MAC key: " + macKey); return new Association(TYPE_HMAC_SHA256, handle, macKey, expiryIn); }
public static Association createHmacSha1(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA1_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association createHmacSha1(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA1_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association createHmacSha1(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA1_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expDate); }
public static Association createHmacSha1(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA1_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA1, handle, macKey, expDate); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expiryIn); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, int expiryIn) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expiryIn); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expDate); }
public static Association createHmacSha256(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA256_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA256, handle, macKey, expDate); }
public static Association generateHmacSha1(String handle, int expiryIn) { SecretKey macKey = generateMacSha1Key(); if (DEBUG) { _log.debug("Generated SHA1 MAC key: " + macKey); } return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association generateHmacSha1(String handle, int expiryIn) { SecretKey macKey = generateMacSha1Key(); if (DEBUG) _log.debug("Generated SHA1 MAC key: " + macKey); return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association generateHmacSha256(String handle, int expiryIn) { SecretKey macKey = generateMacSha256Key(); if (DEBUG) _log.debug("Generated SHA256 MAC key: " + macKey); return new Association(TYPE_HMAC_SHA256, handle, macKey, expiryIn); }
public static Association generateHmacSha1(String handle, int expiryIn) { SecretKey macKey = generateMacSha1Key(); if (DEBUG) _log.debug("Generated SHA1 MAC key: " + macKey); return new Association(TYPE_HMAC_SHA1, handle, macKey, expiryIn); }
public static Association createHmacSha1(String handle, byte[] macKeyBytes, Date expDate) { SecretKey macKey = createMacKey(HMAC_SHA1_ALGORITHM, macKeyBytes); return new Association(TYPE_HMAC_SHA1, handle, macKey, expDate); }