public class X509ThumbprintParser extends Object
| Constructor and Description |
|---|
X509ThumbprintParser()
Empty constructor: Used only to keep GSON happy.
|
X509ThumbprintParser(String json)
Construct an X509ThumbprintParser object from json
|
X509ThumbprintParser(String primaryThumbprint,
String secondaryThumbprint)
Construct an X509ThumbprintParser object with the provided thumbprints
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrimaryThumbprint()
Deprecated.
as of Deps version 0.7.1, please use
getPrimaryThumbprintFinal() |
String |
getPrimaryThumbprintFinal()
Getter for PrimaryThumbprint
|
String |
getSecondaryThumbprint()
Deprecated.
as of Deps version 0.7.1, please use
getSecondaryThumbprintFinal() |
String |
getSecondaryThumbprintFinal()
Getter for SecondaryThumbprint
|
void |
setPrimaryThumbprint(String primaryThumbprint)
Setter for PrimaryThumbprint
|
void |
setSecondaryThumbprint(String secondaryThumbprint)
Setter for SecondaryThumbprint
|
String |
toJson()
Converts this into json format
|
public X509ThumbprintParser()
public X509ThumbprintParser(String primaryThumbprint, String secondaryThumbprint)
primaryThumbprint - the primary thumbprint to setsecondaryThumbprint - the secondary thumbprint to setpublic X509ThumbprintParser(String json) throws IllegalArgumentException
json - the json to build withIllegalArgumentExceptionpublic String toJson()
@Deprecated public String getPrimaryThumbprint()
getPrimaryThumbprintFinal()public final String getPrimaryThumbprintFinal()
public void setPrimaryThumbprint(String primaryThumbprint) throws IllegalArgumentException
primaryThumbprint - the value to set the primary thumbprint toIllegalArgumentException - if primaryThumbprint is null@Deprecated public String getSecondaryThumbprint()
getSecondaryThumbprintFinal()public final String getSecondaryThumbprintFinal()
public void setSecondaryThumbprint(String secondaryThumbprint) throws IllegalArgumentException
secondaryThumbprint - the value to set the secondary thumbprint toIllegalArgumentException - if secondaryThumbprint is nullCopyright © 2019. All rights reserved.