mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-10-01 23:10:45 +00:00
19 lines
612 B
Java
19 lines
612 B
Java
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
|
|
} |