@Test(expected = UnsupportedOperationException.class) public void seal() { encryptor.seal(null, null, null, null); }
@Override public byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey) { throw new UnsupportedOperationException(); }
EllipticalCurveEncryptor implements Encryptor { @Override public byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey) { throw new UnsupportedOperationException(); } }
EllipticalCurveEncryptor implements Encryptor { @Override public byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey) { throw new UnsupportedOperationException(); } EllipticalCurveEncryptor(final String symmetricCipher, final String ellipticCurve);  EllipticalCurveEncryptor(final String symmetricCipher, final String ellipticCurve, int nonceLength, int sharedKeyLength); }
EllipticalCurveEncryptor implements Encryptor { @Override public byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey) { throw new UnsupportedOperationException(); } EllipticalCurveEncryptor(final String symmetricCipher, final String ellipticCurve);  EllipticalCurveEncryptor(final String symmetricCipher, final String ellipticCurve, int nonceLength, int sharedKeyLength); @Override SharedKey computeSharedKey(PublicKey publicKey, PrivateKey privateKey); @Override byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey); @Override byte[] open(byte[] cipherText, Nonce nonce, PublicKey publicKey, PrivateKey privateKey); @Override byte[] sealAfterPrecomputation(byte[] message, Nonce nonce, SharedKey sharedKey); @Override byte[] openAfterPrecomputation(byte[] cipherText, Nonce nonce, SharedKey sharedKey); @Override Nonce randomNonce(); @Override KeyPair generateNewKeys(); @Override SharedKey createSingleKey(); }
EllipticalCurveEncryptor implements Encryptor { @Override public byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey) { throw new UnsupportedOperationException(); } EllipticalCurveEncryptor(final String symmetricCipher, final String ellipticCurve);  EllipticalCurveEncryptor(final String symmetricCipher, final String ellipticCurve, int nonceLength, int sharedKeyLength); @Override SharedKey computeSharedKey(PublicKey publicKey, PrivateKey privateKey); @Override byte[] seal(byte[] message, Nonce nonce, PublicKey publicKey, PrivateKey privateKey); @Override byte[] open(byte[] cipherText, Nonce nonce, PublicKey publicKey, PrivateKey privateKey); @Override byte[] sealAfterPrecomputation(byte[] message, Nonce nonce, SharedKey sharedKey); @Override byte[] openAfterPrecomputation(byte[] cipherText, Nonce nonce, SharedKey sharedKey); @Override Nonce randomNonce(); @Override KeyPair generateNewKeys(); @Override SharedKey createSingleKey();  }