Package com.iizix.security
Interface IX509CertificateFromEclipseBundle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface that gets the signing certificates of a class of a bundle in Eclipse.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptiongetCertificates
(Class<?> cls) Get the code signing certificates of a class in an Eclipse bundle.
Method Details
getCertificates
Get the code signing certificates of a class in an Eclipse bundle.- Parameters:
cls
- The class to retrieve the code signing certificates for.- Returns:
- The first signer certificate chain of the bundle encountered, or null for none.
- Throws:
CodeSigningCertificateResolverException
- In case it cannot be resolved using OSGI for Eclipse.