public final class KeyPairUtil extends Object
| 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:
https://datatracker.ietf.org/doc/html/rfc6487#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–2023 RIPE Network Coordination Centre (RIPE NCC). All rights reserved.