Class Chunk


  • public class Chunk
    extends Object
    • Constructor Detail

      • Chunk

        public Chunk​(int securityHeaderSize,
                     int cipherTextBlockSize,
                     int plainTextBlockSize,
                     int signatureSize,
                     int maxChunkSize)
      • Chunk

        public Chunk​(int securityHeaderSize,
                     int cipherTextBlockSize,
                     int plainTextBlockSize,
                     int signatureSize,
                     int maxChunkSize,
                     boolean asymmetric,
                     boolean encrypted,
                     boolean signed)
    • Method Detail

      • getSecurityHeaderSize

        public int getSecurityHeaderSize()
      • getCipherTextBlockSize

        public int getCipherTextBlockSize()
      • getPlainTextBlockSize

        public int getPlainTextBlockSize()
      • getSignatureSize

        public int getSignatureSize()
      • getMaxChunkSize

        public int getMaxChunkSize()
      • getPaddingOverhead

        public int getPaddingOverhead()
      • getMaxCipherTextSize

        public int getMaxCipherTextSize()
      • getMaxCipherTextBlocks

        public int getMaxCipherTextBlocks()
      • getMaxPlainTextSize

        public int getMaxPlainTextSize()
      • getMaxBodySize

        public int getMaxBodySize()
      • isAsymmetric

        public boolean isAsymmetric()
      • isEncrypted

        public boolean isEncrypted()
      • isSigned

        public boolean isSigned()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object