Interface SpiffeIdVerifier
-
Method Summary
Modifier and TypeMethodDescriptionvoidverify(io.spiffe.spiffeid.SpiffeId spiffeId, X509Certificate[] verifiedChain) Verify that an X509-SVID is acceptable.
-
Method Details
-
verify
void verify(io.spiffe.spiffeid.SpiffeId spiffeId, X509Certificate[] verifiedChain) throws SpiffeVerificationException Verify that an X509-SVID is acceptable. This method receives the SPIFFE ID of the SVID and the certificate chain.- Parameters:
spiffeId- the SPIFFE ID of the SVIDverifiedChain- the certificate chain with the X509-SVID certificate back to an X.509 root for the trust domain.- Throws:
SpiffeVerificationException- if there was an error verifying the SPIFFE ID or it wasn't considered valid.
-