类 X509Encryption

    • 构造器详细资料

      • X509Encryption

        public X509Encryption()
    • 方法详细资料

      • getAlgorithm

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

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

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

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

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

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

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

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