tls-psk: display list of incoming keys on receiving side

This commit is contained in:
Vincent Breitmoser
2017-05-30 18:05:50 +02:00
parent fd34740c1a
commit e44d668e27
8 changed files with 295 additions and 45 deletions

View File

@@ -103,6 +103,10 @@ public class UncachedKeyRing {
return mRing.getPublicKey().getKeyID();
}
public long getCreationTime() {
return mRing.getPublicKey().getCreationTime().getTime();
}
public UncachedPublicKey getPublicKey() {
return new UncachedPublicKey(mRing.getPublicKey());
}