Package org.openstreetmap.josm.io
Class CertificateAmendment.CertAmend
- java.lang.Object
-
- org.openstreetmap.josm.io.CertificateAmendment.CertAmend
-
- Direct Known Subclasses:
CertificateAmendment.EmbeddedCertAmend
,CertificateAmendment.NativeCertAmend
- Enclosing class:
- CertificateAmendment
public static class CertificateAmendment.CertAmend extends java.lang.Object
A certificate amendment.- Since:
- 11943
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CertAmend(java.lang.String filename, java.lang.String sha256)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFilename()
Returns the certificate filename.java.lang.String
getSha256()
Returns the SHA-256 hash.
-
-
-
Constructor Detail
-
CertAmend
protected CertAmend(java.lang.String filename, java.lang.String sha256)
-
-
Method Detail
-
getFilename
public final java.lang.String getFilename()
Returns the certificate filename.- Returns:
- filename for both JOSM embedded certificate and Unix platform certificate
- Since:
- 12241
-
getSha256
public final java.lang.String getSha256()
Returns the SHA-256 hash.- Returns:
- the SHA-256 hash, in hexadecimal
-
-