public class Keys
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Key |
decode(byte[] bytes) |
static byte[] |
encode(Key key) |
static byte[] |
encode(Key key,
Key.Format format) |
static Key |
of(java.security.interfaces.DSAPrivateKey key) |
static Key |
of(java.security.interfaces.DSAPublicKey key) |
static Key |
of(java.security.interfaces.ECPrivateKey key) |
static Key |
of(java.security.interfaces.ECPublicKey key) |
static Key |
of(java.security.Key key) |
static Key |
of(java.security.interfaces.RSAPrivateCrtKey key) |
static Key |
of(java.security.interfaces.RSAPrivateKey key) |
static Key |
of(java.security.interfaces.RSAPublicKey key) |
public static Key decode(byte[] bytes)
public static byte[] encode(Key key)
public static byte[] encode(Key key, Key.Format format)
public static Key of(java.security.Key key)
public static Key of(java.security.interfaces.DSAPrivateKey key)
public static Key of(java.security.interfaces.DSAPublicKey key)
public static Key of(java.security.interfaces.ECPrivateKey key)
public static Key of(java.security.interfaces.ECPublicKey key)
public static Key of(java.security.interfaces.RSAPrivateCrtKey key)
public static Key of(java.security.interfaces.RSAPrivateKey key)
public static Key of(java.security.interfaces.RSAPublicKey key)
Copyright © 2014-2021 Tomitribe Corporation. All Rights Reserved.