Package com.google.crypto.tink.signature
Class SignaturePemKeysetReader.Builder
- java.lang.Object
-
- com.google.crypto.tink.signature.SignaturePemKeysetReader.Builder
-
- Enclosing class:
- SignaturePemKeysetReader
public static final class SignaturePemKeysetReader.Builder extends java.lang.ObjectBuilder for SignaturePemKeysetReader
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignaturePemKeysetReader.BuilderaddPem(java.lang.String pem, PemKeyType keyType)Adds a PEM.KeysetReaderbuild()
-
-
-
Method Detail
-
build
public KeysetReader build()
-
addPem
@CanIgnoreReturnValue public SignaturePemKeysetReader.Builder addPem(java.lang.String pem, PemKeyType keyType)
Adds a PEM.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.
-
-