public class VirgilKeyPair extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
VirgilKeyPair.Type |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
VirgilKeyPair() |
|
VirgilKeyPair(byte[] pwd) |
|
VirgilKeyPair(byte[] publicKey,
byte[] privateKey) |
protected |
VirgilKeyPair(long cPtr,
boolean cMemoryOwn) |
|
VirgilKeyPair(VirgilKeyPair other) |
protected VirgilKeyPair(long cPtr,
boolean cMemoryOwn)
public VirgilKeyPair(byte[] pwd)
public VirgilKeyPair()
public VirgilKeyPair(byte[] publicKey,
byte[] privateKey)
public VirgilKeyPair(VirgilKeyPair other)
protected static long getCPtr(VirgilKeyPair obj)
public void delete()
public void close()
close in interface AutoCloseablepublic static VirgilKeyPair generate(VirgilKeyPair.Type type, byte[] pwd)
public static VirgilKeyPair generate(VirgilKeyPair.Type type)
public static VirgilKeyPair generate()
public static VirgilKeyPair ecNist192(byte[] pwd)
public static VirgilKeyPair ecNist192()
public static VirgilKeyPair ecNist224(byte[] pwd)
public static VirgilKeyPair ecNist224()
public static VirgilKeyPair ecNist256(byte[] pwd)
public static VirgilKeyPair ecNist256()
public static VirgilKeyPair ecNist384(byte[] pwd)
public static VirgilKeyPair ecNist384()
public static VirgilKeyPair ecNist521(byte[] pwd)
public static VirgilKeyPair ecNist521()
public static VirgilKeyPair ecBrainpool256(byte[] pwd)
public static VirgilKeyPair ecBrainpool256()
public static VirgilKeyPair ecBrainpool384(byte[] pwd)
public static VirgilKeyPair ecBrainpool384()
public static VirgilKeyPair ecBrainpool512(byte[] pwd)
public static VirgilKeyPair ecBrainpool512()
public static VirgilKeyPair ecKoblitz192(byte[] pwd)
public static VirgilKeyPair ecKoblitz192()
public static VirgilKeyPair ecKoblitz224(byte[] pwd)
public static VirgilKeyPair ecKoblitz224()
public static VirgilKeyPair ecKoblitz256(byte[] pwd)
public static VirgilKeyPair ecKoblitz256()
public static VirgilKeyPair rsa256(byte[] pwd)
public static VirgilKeyPair rsa256()
public static VirgilKeyPair rsa512(byte[] pwd)
public static VirgilKeyPair rsa512()
public static VirgilKeyPair rsa1024(byte[] pwd)
public static VirgilKeyPair rsa1024()
public static VirgilKeyPair rsa2048(byte[] pwd)
public static VirgilKeyPair rsa2048()
public static VirgilKeyPair rsa4096(byte[] pwd)
public static VirgilKeyPair rsa4096()
public static boolean isKeyPairMatch(byte[] publicKey,
byte[] privateKey,
byte[] privateKeyPassword)
public static boolean isKeyPairMatch(byte[] publicKey,
byte[] privateKey)
public static boolean checkPrivateKeyPassword(byte[] key,
byte[] pwd)
public static boolean isPrivateKeyEncrypted(byte[] privateKey)
public static byte[] resetPrivateKeyPassword(byte[] privateKey,
byte[] oldPassword,
byte[] newPassword)
public byte[] publicKey()
public byte[] privateKey()
Copyright © 2016. All rights reserved.