Class EMSAPSSEncoder


  • public class EMSAPSSEncoder
    extends java.lang.Object
    Implementation of EMSA-PSS encoding according to PKCS#1 V2.1 (RFC 3447)
    Author:
    Frank Thater
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] salt  
    • Constructor Summary

      Constructors 
      Constructor Description
      EMSAPSSEncoder​(java.security.MessageDigest digest, int keySizeInBits)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] encode​(byte[] hash)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • salt

        public byte[] salt
    • Constructor Detail

      • EMSAPSSEncoder

        public EMSAPSSEncoder​(java.security.MessageDigest digest,
                              int keySizeInBits)
    • Method Detail

      • encode

        public byte[] encode​(byte[] hash)
                      throws java.io.IOException
        Throws:
        java.io.IOException