Searched refs:hexToBytes (Results 1 – 9 of 9) sorted by relevance
46 this.pt = TestUtil.hexToBytes(message); in EaxTestVector()47 this.aad = TestUtil.hexToBytes(aad); in EaxTestVector()48 this.ct = TestUtil.hexToBytes(ciphertext); in EaxTestVector()54 this.parameters = new GCMParameterSpec(128, TestUtil.hexToBytes(nonce)); in EaxTestVector()55 this.key = new SecretKeySpec(TestUtil.hexToBytes(keyMaterial), "AES"); in EaxTestVector()
68 this.pt = TestUtil.hexToBytes(message); in GcmTestVector()69 this.aad = TestUtil.hexToBytes(aad); in GcmTestVector()70 this.ct = TestUtil.hexToBytes(ciphertext + tag); in GcmTestVector()74 this.parameters = new GCMParameterSpec(tagLengthInBits, TestUtil.hexToBytes(nonce)); in GcmTestVector()75 this.key = new SecretKeySpec(TestUtil.hexToBytes(keyMaterial), "AES"); in GcmTestVector()
1136 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()1198 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testLegacySignatures()
1471 byte[] encoded = TestUtil.hexToBytes(ENCODED_PUBLIC_KEY); in testEncodeDecodePublic()1490 X509EncodedKeySpec spec = new X509EncodedKeySpec(TestUtil.hexToBytes(encoded)); in testModifiedPublicKeyDecoding()
133 byte[] encoded = TestUtil.hexToBytes(encodedHex); in testEncodedPublicKey()
108 byte[] encoded = TestUtil.hexToBytes(pub); in getPublicKey()490 return new X509EncodedKeySpec(TestUtil.hexToBytes(encoded)); in getX509EncodedKeySpec()
620 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()
692 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()
56 public static byte[] hexToBytes(String hex) throws IllegalArgumentException { in hexToBytes() method in TestUtil