public static final class SignaturePemKeysetReader.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
SignaturePemKeysetReader.Builder |
addPem(String pem,
PemKeyType keyType)
Adds a PEM.
|
KeysetReader |
build() |
public KeysetReader build()
@CanIgnoreReturnValue public SignaturePemKeysetReader.Builder addPem(String pem, PemKeyType keyType)
A single PEM can contain multiple keys, but all must have the same keyType.
Invalid or unparsable keys are ignored.
The first key in the first added PEM is the primary key.