class CertificateInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
localFingerprint
The fingerprint of
certificate . |
java.lang.String |
localFingerprintHashFunction
The hash function of
localFingerprint (which is the same as the
digest algorithm of the signature algorithm of certificate in
accord with RFC 4572). |
long |
timestamp
The timestamp (in milliseconds of system time) of the generation of this
CertificateInfo . |
Constructor and Description |
---|
CertificateInfo(org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair,
org.bouncycastle.crypto.tls.Certificate certificate,
java.lang.String localFingerprintHashFunction,
java.lang.String localFingerprint,
long timestamp)
Initializes a new
CertificateInfo instance. |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.crypto.tls.Certificate |
getCertificate()
Gets the certificate with which the local endpoint represented by this
instance authenticates its ends of DTLS sessions.
|
org.bouncycastle.crypto.AsymmetricCipherKeyPair |
getKeyPair()
Gets the private and public keys of
certificate . |
public final java.lang.String localFingerprint
certificate
.public final java.lang.String localFingerprintHashFunction
localFingerprint
(which is the same as the
digest algorithm of the signature algorithm of certificate
in
accord with RFC 4572).public final long timestamp
CertificateInfo
.public CertificateInfo(org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair, org.bouncycastle.crypto.tls.Certificate certificate, java.lang.String localFingerprintHashFunction, java.lang.String localFingerprint, long timestamp)
CertificateInfo
instance.keyPair
- the private and public keys of certificate
certificate
- the certificate with which the local endpoint
represented by the new instance is to authenticates its ends of DTLS
sessionslocalFingerprintHashFunction
- localFingerprint
- timestamp
- public org.bouncycastle.crypto.tls.Certificate getCertificate()
public org.bouncycastle.crypto.AsymmetricCipherKeyPair getKeyPair()
certificate
.certificate
.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.