All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tu.crossing.JavaCryptographicArchitecture.3.1.2.source-code.CipherOutputStream.crysl Maven / Gradle / Ivy

The newest version!
SPEC javax.crypto.CipherOutputStream

OBJECTS
	java.io.OutputStream outputStream;
	javax.crypto.Cipher cipher;
	byte[] data;
	int offset;
	int len;
	int specifiedByte;
	
EVENTS
	c1: CipherOutputStream(outputStream, cipher);
	Con := c1;
	
	w1: write(specifiedByte);
	w2: write(data);
	w3: write(data, offset, len);
	Write := w1 | w2 | w3;
	
	cl1: close();
	Close := cl1;
	
ORDER
	Con, Write+, Close
	
CONSTRAINTS
	length[data] >= offset + len;
	offset >= 0;
	len > 0;
	
REQUIRES
	generatedCipher[cipher];	

ENSURES
	cipheredOutputStream[outputStream, cipher];




© 2015 - 2024 Weber Informatics LLC | Privacy Policy