public final class ValidatedKeyId extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATH_PATTERN
Subset of the valid characters for URI Paths derived from RFC3986.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKeyId() |
int |
hashCode() |
String |
toString() |
static ValidatedKeyId |
validate(String unvalidatedKeyId)
Validates the given key id and upon successful validation returns a
ValidatedKeyId instance. |
public static ValidatedKeyId validate(String unvalidatedKeyId) throws InvalidHeaderException
ValidatedKeyId instance.unvalidatedKeyId - a key identifier for public or private keyInvalidHeaderException - if the key id is invalid or unsafe to usepublic String getKeyId()
Copyright © 2017 Atlassian. All rights reserved.