public interface SubjectOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsDigest(String key)
public abstract boolean containsDigest(String key) "<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512
See
https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
map<string, string> digest = 2;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getDigest()
public abstract Map<String,String> getDigest()Use #getDigestMap() instead.
| Type | Description |
| Map<String,String> |
getDigestCount()
public abstract int getDigestCount() "<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512
See
https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
map<string, string> digest = 2;
| Type | Description |
| int |
getDigestMap()
public abstract Map<String,String> getDigestMap() "<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512
See
https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
map<string, string> digest = 2;
| Type | Description |
| Map<String,String> |
getDigestOrDefault(String key, String defaultValue)
public abstract String getDigestOrDefault(String key, String defaultValue) "<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512
See
https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
map<string, string> digest = 2;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getDigestOrThrow(String key)
public abstract String getDigestOrThrow(String key) "<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512
See
https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
map<string, string> digest = 2;
| Name | Description |
| key | String |
| Type | Description |
| String |
getName()
public abstract String getName()string name = 1;
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()string name = 1;
| Type | Description |
| ByteString | The bytes for name. |