Interface SubjectOrBuilder (2.69.0)

  public 
  
 interface 
 SubjectOrBuilder 
  
 extends 
  
 MessageOrBuilder 
 

Implements

MessageOrBuilder

Methods

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;

Parameter
Name
Description
key
Returns
Type
Description

getDigest() (deprecated)

  public 
  
 abstract 
  
 Map<String 
 , 
 String 
>  
 getDigest 
 () 
 

Use #getDigestMap() instead.

Returns
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;

Returns
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;

Returns
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;

Parameters
Name
Description
key
defaultValue
Returns
Type
Description

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;

Parameter
Name
Description
key
Returns
Type
Description

getName()

  public 
  
 abstract 
  
 String 
  
 getName 
 () 
 

string name = 1;

Returns
Type
Description

The name.

getNameBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getNameBytes 
 () 
 

string name = 1;

Returns
Type
Description

The bytes for name.

Design a Mobile Site
View Site in Mobile | Classic
Share by: