Class X509Context
java.lang.Object
io.spiffe.workloadapi.X509Context
Represents the X.509 materials that are fetched from the Workload API.
Contains a list of X509Svid and a X509BundleSet.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default SVID (the first in the list).static X509Contextof(@NonNull List<X509Svid> x509Svids, @NonNull X509BundleSet x509BundleSet) Creates a new X509Context from the list of X.509 SVIDs and the X.509 Bundle set.
-
Method Details
-
of
public static X509Context of(@NonNull @NonNull List<X509Svid> x509Svids, @NonNull @NonNull X509BundleSet x509BundleSet) Creates a new X509Context from the list of X.509 SVIDs and the X.509 Bundle set.- Parameters:
x509Svids- a list ofX509Svidx509BundleSet- an instance ofX509BundleSet- Returns:
- an instance of an X509Context
-
getDefaultSvid
Returns the default SVID (the first in the list).- Returns:
- the default SVID (the first in the list)
-