public final class KeyPairUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyPairUtil.FileSystemSafeBase64UrlEncoder |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64UrlEncode(byte[] data) |
static String |
getAsciiHexEncodedPublicKeyHash(PublicKey publicKey)
Get ASCII Hex encoded hash of the public key; for use in certificate
subjects as described here:
http://tools.ietf.org/html/draft-ietf-sidr-res-certs-21#section-8
|
static String |
getEncodedKeyIdentifier(PublicKey key)
Get Base64 encoded public key as string.
|
static byte[] |
getKeyIdentifier(PublicKey key) |
public static String getEncodedKeyIdentifier(PublicKey key)
public static String getAsciiHexEncodedPublicKeyHash(PublicKey publicKey)
public static byte[] getKeyIdentifier(PublicKey key)
public static String base64UrlEncode(byte[] data)
Copyright © 2008–2019 RIPE Network Coordination Centre (RIPE NCC). All rights reserved.