Class Signature
java.lang.Object
org.apache.commons.release.plugin.slsa.v1_2.Signature
A single cryptographic signature within a DSSE envelope.
- Since:
- 1.10.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Signature
public Signature()Creates a new Signature instance.
-
-
Method Details
-
equals
-
getKeyid
Gets the key identifier hint, ornullif not set.- Returns:
- The key identifier, or
null
-
getSig
Gets the raw signature bytes.- Returns:
- The signature bytes, or
nullif not set.
-
hashCode
-
setKeyid
Sets the key identifier hint.- Parameters:
keyid- The key identifier, ornullto leave unset.- Returns:
- this for chaining.
-
setSig
Sets the raw signature bytes.- Parameters:
sig- The signature bytes.- Returns:
- this for chaining.
-
toString
-