Best code examples for Java 8 PSSParameterSpec class (java.security.spec.PSSParameterSpec)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 PSSParameterSpec class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 PSSParameterSpec examples from Open Source projects
This code example shows how to use the following methods: getDigestAlgorithm, getMGFParameters, getSaltLength, getTrailerField
172:	DigestFactory.getOID(pssSpec.getDigestAlgorithm()), 
-
174:	MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec)pssSpec.getMGFParameters(); 
-
178:	RSASSAPSSparams pssP = new RSASSAPSSparams(hashAlgorithm, maskGenAlgorithm, new ASN1Integer(pssSpec.getSaltLength()), new ASN1Integer(pssSpec.getTrailerField())); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getDigestAlgorithm, getMGFParameters, getSaltLength, getTrailerField
176:	DigestFactory.getOID(pssSpec.getDigestAlgorithm()), 
-
180:	MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec)pssSpec.getMGFParameters(); 
-
186:	RSASSAPSSparams pssP = new RSASSAPSSparams(hashAlgorithm, maskGenAlgorithm, new ASN1Integer(pssSpec.getSaltLength()), new ASN1Integer(pssSpec.getTrailerField())); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getDigestAlgorithm
170:	PSSParameterSpec pssps = new PSSParameterSpec("SHA-1", "MGF1", 
-
172:	assertEquals("SHA-1", pssps.getDigestAlgorithm()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getSaltLength
215:	int saltLen = spec.getSaltLength(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getTrailerField
214:	PSSParameterSpec pssps = new PSSParameterSpec("SHA-1", "MGF1", 
-
216:	assertEquals(1, pssps.getTrailerField()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
259:	super("SHA2224withRSAandMGF1", new RSAEngine(), new PSSParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), 28, 1)); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getMGFAlgorithm
180:	PSSParameterSpec pssps = new PSSParameterSpec("SHA-1", "MGF1", 
-
182:	assertEquals("MGF1", pssps.getMGFAlgorithm()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
233:	pssP.getTrailerField().intValue()); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
185:	pssP.getSaltLength().intValue()); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getSaltLength
215:	int saltLen = spec.getSaltLength(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
268:	super("SHA256withRSAandMGF1", new RSAEngine(), new PSSParameterSpec("SHA-256", "MGF1", new MGF1ParameterSpec("SHA-256"), 32, 1)); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
286:	super("SHA512withRSAandMGF1", new RSAEngine(), new PSSParameterSpec("SHA-512", "MGF1", new MGF1ParameterSpec("SHA-512"), 64, 1)); 
Full Snippet Info
4
CodeRank
See Code Examples for Java 8 PSSParameterSpec Methods: