Package dev.sigstore.rekor
Class Signature
- java.lang.Object
-
- dev.sigstore.rekor.Signature
-
@Generated("jsonschema2pojo") public class Signature extends java.lang.ObjectInformation about the detached signature associated with the entry
-
-
Constructor Summary
Constructors Constructor Description Signature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetContent()Specifies the content of the signature inline within the documentPublicKeygetPublicKey()The public key that can verify the signatureinthashCode()voidsetContent(java.lang.String content)Specifies the content of the signature inline within the documentvoidsetPublicKey(PublicKey publicKey)The public key that can verify the signaturejava.lang.StringtoString()SignaturewithContent(java.lang.String content)SignaturewithPublicKey(PublicKey publicKey)
-
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Specifies the content of the signature inline within the document
-
setContent
public void setContent(java.lang.String content)
Specifies the content of the signature inline within the document
-
withContent
public Signature withContent(java.lang.String content)
-
getPublicKey
public PublicKey getPublicKey()
The public key that can verify the signature
-
setPublicKey
public void setPublicKey(PublicKey publicKey)
The public key that can verify the signature
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-