public class KeyInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KeyInfo.Builder
A builder that constructs a
KeyInfo instance. |
Modifier and Type | Method and Description |
---|---|
static KeyInfo.Builder |
builder()
Creates a builder that constructs a new instance.
|
List<X509Certificate> |
getCertificates()
Gets the list of certificates associated with the key.
|
URI |
getCertificateUrl()
Gets the URL from which certificates associated with the key may be
retrieved.
|
String |
getId()
Gets the ID specified for this key.
|
Key |
getKey()
Gets the subject key.
|
public static KeyInfo.Builder builder()
public String getId()
null
if none was specifiedpublic Key getKey()
public List<X509Certificate> getCertificates()
null
)public URI getCertificateUrl()
null
if none was specifiedCopyright © 2019. All rights reserved.