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

uni.BouncyCastle-JCA.3.1.1.source-code.SecretKeySpec.crysl Maven / Gradle / Ivy

There is a newer version: 3.1.3
Show newest version
SPEC javax.crypto.spec.SecretKeySpec

OBJECTS 
	java.lang.String keyAlgorithm;
	byte[] keyMaterial;
	int len;
	int offset;
		
EVENTS
	c1: SecretKeySpec(keyMaterial, keyAlgorithm);
	c2: SecretKeySpec(keyMaterial, offset, len, keyAlgorithm);
	Con := c1 | c2;
	
ORDER
	Con
 	
CONSTRAINTS
	keyAlgorithm in {"AES", "HmacSHA256", "HmacSHA384", "HmacSHA512",
					"HMACSHA3-224", "HMACSHA3-256", "HMACSHA3-384", "HMACSHA3-512", "HmacSHA3-1024"};
	length[keyMaterial] >= offset + len;
	neverTypeOf[keyMaterial, java.lang.String];
	
REQUIRES
	preparedKeyMaterial[keyMaterial];	
	
ENSURES
	speccedKey[this, _];
	generatedKey[this, keyAlgorithm];
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy