Module io.github.mmm.crypto
Class CertificatePathGeneric
- java.lang.Object
-
- io.github.mmm.crypto.asymmetric.cert.CertificatePathGeneric
-
- All Implemented Interfaces:
CertificatePath
public class CertificatePathGeneric extends Object implements CertificatePath
Generic implementation ofCertificatePath
.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description CertificatePathGeneric(Certificate... certificates)
The constructor.CertificatePathGeneric(Collection<Certificate> certificates)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Certificate>
getCertificates()
-
-
-
Constructor Detail
-
CertificatePathGeneric
public CertificatePathGeneric(Collection<Certificate> certificates)
The constructor.- Parameters:
certificates
- thecertificates
.
-
CertificatePathGeneric
public CertificatePathGeneric(Certificate... certificates)
The constructor.- Parameters:
certificates
- thecertificates
.
-
-
Method Detail
-
getCertificates
public List<Certificate> getCertificates()
- Specified by:
getCertificates
in interfaceCertificatePath
- Returns:
- an
immutable
List
ofCertificate
s.
-
-