Class GPGKey


  • public class GPGKey
    extends java.lang.Object
    GPGKey a user GPG key to sign commit and tag in repository
    • Constructor Detail

      • GPGKey

        public GPGKey()
    • Method Detail

      • canCertify

        public GPGKey canCertify​(java.lang.Boolean canCertify)
      • isCanCertify

        public java.lang.Boolean isCanCertify()
        Get canCertify
        Returns:
        canCertify
      • setCanCertify

        public void setCanCertify​(java.lang.Boolean canCertify)
      • canEncryptComms

        public GPGKey canEncryptComms​(java.lang.Boolean canEncryptComms)
      • isCanEncryptComms

        public java.lang.Boolean isCanEncryptComms()
        Get canEncryptComms
        Returns:
        canEncryptComms
      • setCanEncryptComms

        public void setCanEncryptComms​(java.lang.Boolean canEncryptComms)
      • canEncryptStorage

        public GPGKey canEncryptStorage​(java.lang.Boolean canEncryptStorage)
      • isCanEncryptStorage

        public java.lang.Boolean isCanEncryptStorage()
        Get canEncryptStorage
        Returns:
        canEncryptStorage
      • setCanEncryptStorage

        public void setCanEncryptStorage​(java.lang.Boolean canEncryptStorage)
      • canSign

        public GPGKey canSign​(java.lang.Boolean canSign)
      • isCanSign

        public java.lang.Boolean isCanSign()
        Get canSign
        Returns:
        canSign
      • setCanSign

        public void setCanSign​(java.lang.Boolean canSign)
      • createdAt

        public GPGKey createdAt​(org.threeten.bp.OffsetDateTime createdAt)
      • getCreatedAt

        public org.threeten.bp.OffsetDateTime getCreatedAt()
        Get createdAt
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(org.threeten.bp.OffsetDateTime createdAt)
      • getEmails

        public java.util.List<GPGKeyEmail> getEmails()
        Get emails
        Returns:
        emails
      • setEmails

        public void setEmails​(java.util.List<GPGKeyEmail> emails)
      • expiresAt

        public GPGKey expiresAt​(org.threeten.bp.OffsetDateTime expiresAt)
      • getExpiresAt

        public org.threeten.bp.OffsetDateTime getExpiresAt()
        Get expiresAt
        Returns:
        expiresAt
      • setExpiresAt

        public void setExpiresAt​(org.threeten.bp.OffsetDateTime expiresAt)
      • id

        public GPGKey id​(java.lang.Long id)
      • getId

        public java.lang.Long getId()
        Get id
        Returns:
        id
      • setId

        public void setId​(java.lang.Long id)
      • keyId

        public GPGKey keyId​(java.lang.String keyId)
      • getKeyId

        public java.lang.String getKeyId()
        Get keyId
        Returns:
        keyId
      • setKeyId

        public void setKeyId​(java.lang.String keyId)
      • primaryKeyId

        public GPGKey primaryKeyId​(java.lang.String primaryKeyId)
      • getPrimaryKeyId

        public java.lang.String getPrimaryKeyId()
        Get primaryKeyId
        Returns:
        primaryKeyId
      • setPrimaryKeyId

        public void setPrimaryKeyId​(java.lang.String primaryKeyId)
      • publicKey

        public GPGKey publicKey​(java.lang.String publicKey)
      • getPublicKey

        public java.lang.String getPublicKey()
        Get publicKey
        Returns:
        publicKey
      • setPublicKey

        public void setPublicKey​(java.lang.String publicKey)
      • subkeys

        public GPGKey subkeys​(java.util.List<GPGKey> subkeys)
      • addSubkeysItem

        public GPGKey addSubkeysItem​(GPGKey subkeysItem)
      • getSubkeys

        public java.util.List<GPGKey> getSubkeys()
        Get subkeys
        Returns:
        subkeys
      • setSubkeys

        public void setSubkeys​(java.util.List<GPGKey> subkeys)
      • verified

        public GPGKey verified​(java.lang.Boolean verified)
      • isVerified

        public java.lang.Boolean isVerified()
        Get verified
        Returns:
        verified
      • setVerified

        public void setVerified​(java.lang.Boolean verified)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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