aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/KeystoreManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/KeystoreManager.java')
-rw-r--r--src/main/java/com/juick/KeystoreManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/KeystoreManager.java b/src/main/java/com/juick/KeystoreManager.java
index f968f627..32596170 100644
--- a/src/main/java/com/juick/KeystoreManager.java
+++ b/src/main/java/com/juick/KeystoreManager.java
@@ -17,7 +17,7 @@
package com.juick;
-import com.juick.www.api.activity.model.objects.SecurityObject;
+import com.juick.www.api.activity.model.objects.Actor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.io.Resource;
@@ -74,7 +74,7 @@ public class KeystoreManager {
return String.format("-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n",
String.join("\n", key));
}
- public static PublicKey publicKeyOf(SecurityObject person) {
+ public static PublicKey publicKeyOf(Actor person) {
String pubkeyPem = person.getPublicKey().getPublicKeyPem();
String[] rawKey = pubkeyPem.split("\\n");
String pubkeyData = String.join("", Arrays.asList(rawKey).subList(1, rawKey.length - 1));