类 X509Encryption

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      getAlgorithm()
      Gets the encryption algorithm for the content.
      getCertificate()
      The X509 certificate to obtain the public key of the recipient.
      getPrivateKey()
      The private key for decryption.
      getSecureRandom()
      The random number generator for the shared secrets.
      void  algorithm)
      Sets the encryption algorithm for the content.
      void  cert)
      The X509 certificate to obtain the public key of the recipient.
      void  privateKey)
      The X509 certificate to obtain the public key of the recipient.
      void  random)
      The random number generator for the shared secrets.
      Hessian2Input unwrap​(Hessian2Input in)
      Unwrap the Hessian input stream with this envelope.
      Hessian2Input unwrapHeaders​(Hessian2Input in)
      Unwrap the envelope after having read the envelope code ('E') and the envelope method.
      Hessian2Output wrap​(Hessian2Output out)
      Wrap the Hessian output stream in an envelope.
      • 从类继承的方法 java.lang.

        , , , , , , , ,
    • 构造器详细资料

      • X509Encryption

        public X509Encryption()
    • 方法详细资料

      • getAlgorithm

        public  getAlgorithm()
        Gets the encryption algorithm for the content.
      • setAlgorithm

        public void setAlgorithm​( algorithm)
        Sets the encryption algorithm for the content.
      • getCertificate

        public  getCertificate()
        The X509 certificate to obtain the public key of the recipient.
      • setCertificate

        public void setCertificate​( cert)
        The X509 certificate to obtain the public key of the recipient.
      • getPrivateKey

        public  getPrivateKey()
        The private key for decryption.
      • setPrivateKey

        public void setPrivateKey​( privateKey)
        The X509 certificate to obtain the public key of the recipient.
      • getSecureRandom

        public  getSecureRandom()
        The random number generator for the shared secrets.
      • setSecureRandom

        public void setSecureRandom​( random)
        The random number generator for the shared secrets.