@Override public StandardEncryptionVerifier clone() throws CloneNotSupportedException { return (StandardEncryptionVerifier)super.clone(); } }
@Override public BinaryRC4EncryptionVerifier clone() throws CloneNotSupportedException { return (BinaryRC4EncryptionVerifier)super.clone(); } }
@Override public XOREncryptionVerifier clone() throws CloneNotSupportedException { return (XOREncryptionVerifier)super.clone(); }
@Override public AgileEncryptionVerifier clone() throws CloneNotSupportedException { AgileEncryptionVerifier other = (AgileEncryptionVerifier)super.clone(); // TODO: deep copy of certList other.certList = new ArrayList<>(certList); return other; }
@Override public EncryptionInfo clone() throws CloneNotSupportedException { EncryptionInfo other = (EncryptionInfo)super.clone(); other.header = header.clone(); other.verifier = verifier.clone(); other.decryptor = decryptor.clone(); other.decryptor.setEncryptionInfo(other); other.encryptor = encryptor.clone(); other.encryptor.setEncryptionInfo(other); return other; } }
@Override public BinaryRC4EncryptionVerifier clone() throws CloneNotSupportedException { return (BinaryRC4EncryptionVerifier)super.clone(); } }
@Override public StandardEncryptionVerifier clone() throws CloneNotSupportedException { return (StandardEncryptionVerifier)super.clone(); } }
@Override public XOREncryptionVerifier clone() throws CloneNotSupportedException { return (XOREncryptionVerifier)super.clone(); }
@Override public AgileEncryptionVerifier clone() throws CloneNotSupportedException { AgileEncryptionVerifier other = (AgileEncryptionVerifier)super.clone(); // TODO: deep copy of certList other.certList = new ArrayList<>(certList); return other; }
@Override public EncryptionInfo clone() throws CloneNotSupportedException { EncryptionInfo other = (EncryptionInfo)super.clone(); other.header = header.clone(); other.verifier = verifier.clone(); other.decryptor = decryptor.clone(); other.decryptor.setEncryptionInfo(other); other.encryptor = encryptor.clone(); other.encryptor.setEncryptionInfo(other); return other; } }