@Test public void testConstructorWith128BitCiphers() throws Exception { RegistryEciesAeadHkdfDemHelper helper; helper = new RegistryEciesAeadHkdfDemHelper(AeadKeyTemplates.AES128_GCM); assertEquals(16, helper.getSymmetricKeySizeInBytes()); helper = new RegistryEciesAeadHkdfDemHelper(AeadKeyTemplates.AES128_CTR_HMAC_SHA256); assertEquals(48, helper.getSymmetricKeySizeInBytes()); }
@Override public int getSymmetricKeySizeInBytes() { return symmetricKeySize; }
RegistryEciesAeadHkdfDemHelper implements EciesAeadHkdfDemHelper { @Override public int getSymmetricKeySizeInBytes() { return symmetricKeySize; } }
RegistryEciesAeadHkdfDemHelper implements EciesAeadHkdfDemHelper { @Override public int getSymmetricKeySizeInBytes() { return symmetricKeySize; } RegistryEciesAeadHkdfDemHelper(KeyTemplate demTemplate); }
RegistryEciesAeadHkdfDemHelper implements EciesAeadHkdfDemHelper { @Override public int getSymmetricKeySizeInBytes() { return symmetricKeySize; } RegistryEciesAeadHkdfDemHelper(KeyTemplate demTemplate); @Override int getSymmetricKeySizeInBytes(); @Override Aead getAead(final byte[] symmetricKeyValue); }
RegistryEciesAeadHkdfDemHelper implements EciesAeadHkdfDemHelper { @Override public int getSymmetricKeySizeInBytes() { return symmetricKeySize; } RegistryEciesAeadHkdfDemHelper(KeyTemplate demTemplate); @Override int getSymmetricKeySizeInBytes(); @Override Aead getAead(final byte[] symmetricKeyValue);  }