Class CreateSignatureInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      CreateSignatureInfo()
      Constructs an allocated CreateSignatureInfo with all of the fields uninitialized.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getComment()
      Gets the comment to use to create the signature.
      byte[] getPassword()
      Gets the password that is used to create the signature.
      java.lang.String getReason()
      Gets the signature reason to use to create the signature.
      java.lang.String getRole()
      Gets the role to use to create the signature.
      java.lang.String getUserId()
      Gets the user identifier to use to create the signature.
      int hashCode()  
      void setComment​(java.lang.String comment)
      Sets the comment to use to create the signature.
      void setPassword​(byte[] password)
      Sets the password to use during the signature process.
      void setReason​(java.lang.String reason)
      Sets the signature reason to use to create the signature.
      void setRole​(java.lang.String role)
      Sets the signature role to use to create signature.
      void setUserId​(java.lang.String userId)
      Sets the user identifier to to use to create the signature.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CreateSignatureInfo

        public CreateSignatureInfo()
        Constructs an allocated CreateSignatureInfo with all of the fields uninitialized.
    • Method Detail

      • getUserId

        public java.lang.String getUserId()
        Gets the user identifier to use to create the signature.
        Returns:
        The user identifier to use to create the signature.
      • setUserId

        public void setUserId​(java.lang.String userId)
        Sets the user identifier to to use to create the signature. This value is required.
        Parameters:
        userId - The user identifier to use to create the signature.
        See Also:
        Signature.getUserId()
      • getPassword

        public byte[] getPassword()
        Gets the password that is used to create the signature. The password must be the current password of the account that is specified by the setUserId(String) value. The credentials are tested as part of the signature process.
        Returns:
        The password for the signee account.
      • setPassword

        public void setPassword​(byte[] password)
        Sets the password to use during the signature process. This value is required.
        Parameters:
        password - The password to use to create the signature.
      • getRole

        public java.lang.String getRole()
        Gets the role to use to create the signature.
        Returns:
        The role to use to create the signature.
      • getReason

        public java.lang.String getReason()
        Gets the signature reason to use to create the signature.
        Returns:
        The reason to use to create the signature.
      • getComment

        public java.lang.String getComment()
        Gets the comment to use to create the signature.
        Returns:
        The comment to use to create the signature.
      • setComment

        public void setComment​(java.lang.String comment)
        Sets the comment to use to create the signature. This value is optional.
        Parameters:
        comment - The comment to use to create the signature.
        See Also:
        Signature.getComment()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object