Package org.pgpainless.authentication
Class CertificateAuthenticity.ChainLink
java.lang.Object
org.pgpainless.authentication.CertificateAuthenticity.ChainLink
- Enclosing class:
CertificateAuthenticity
A chain link contains a node in the trust chain.
-
Constructor Summary
ConstructorsConstructorDescriptionChainLink
(org.bouncycastle.openpgp.PGPPublicKeyRing certificate) Create a chain link. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.openpgp.PGPPublicKeyRing
Return the certificate that belongs to the node.
-
Constructor Details
-
ChainLink
public ChainLink(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing certificate) Create a chain link.- Parameters:
certificate
- node in the trust chain
-
-
Method Details
-
getCertificate
@Nonnull public org.bouncycastle.openpgp.PGPPublicKeyRing getCertificate()Return the certificate that belongs to the node.- Returns:
- certificate
-