Code example for PSSParameterSpec

Methods: getDigestAlgorithmgetSaltLengthgetTrailerField

originalSpec = paramSpec;
            this.paramSpec = paramSpec;
        this.digest = JCEDigestUtil.getDigest(paramSpec.getDigestAlgorithm());
        this.saltLength = paramSpec.getSaltLength();
        this.trailer = getTrailer(paramSpec.getTrailerField());
    protected void engineInitVerify( 
        PublicKey   publicKey)
        throws InvalidKeyException 
        if (!(publicKey instanceof RSAPublicKey))
            throw new InvalidKeyException("Supplied key is not a RSAPublicKey instance");
        pss = new PSSSigner(signer, digest, saltLength);
Connect your IDE to all the code out there  Get Codota for Java