mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-10-02 03:30:45 +00:00
Sign ffdec.jar and ffdec_lib.jar
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.jpexs.kmsjarsigner;
|
||||
|
||||
import java.security.PrivateKey;
|
||||
|
||||
public final class KmsPrivateKey implements PrivateKey {
|
||||
private final String cryptoKeyVersion; // projects/.../cryptoKeyVersions/1
|
||||
|
||||
public KmsPrivateKey(String cryptoKeyVersion) {
|
||||
this.cryptoKeyVersion = cryptoKeyVersion;
|
||||
}
|
||||
|
||||
public String cryptoKeyVersion() {
|
||||
return cryptoKeyVersion;
|
||||
}
|
||||
|
||||
@Override public String getAlgorithm() { return "RSA"; }
|
||||
@Override public String getFormat() { return null; } // not exportable
|
||||
@Override public byte[] getEncoded() { return null; } // not exportable
|
||||
}
|
||||
Reference in New Issue
Block a user