null if no active key is available.
+ *
+ * @return
+ */
+ String getKid();
+
+ /**
+ * Return the private key for the active keypair, or null if no active key is available.
+ *
+ * @return
+ */
+ PrivateKey getPrivateKey();
+
+ /**
+ * Return the public key for the specified kid, or null if the kid is unknown.
+ *
+ * @param kid
+ * @return
+ */
+ PublicKey getPublicKey(String kid);
+
+ /**
+ * Return the certificate for the specified kid, or null if the kid is unknown.
+ *
+ * @param kid
+ * @return
+ */
+ X509Certificate getCertificate(String kid);
+
+ /**
+ * Return metadata about all keypairs held by the provider
+ * @return
+ */
+ List| {{:: 'status' | translate}} | +{{:: 'type' | translate}} | +{{:: 'kid' | translate}} | +{{:: 'priority' | translate}} | +{{:: 'provider' | translate}} | +{{:: 'publicKey' | translate}} | +{{:: 'certificate' | translate}} | +||
|---|---|---|---|---|---|---|---|---|
| {{key.status}} | +{{key.type}} | +{{key.kid}} | +{{key.providerPriority}} | +{{key.provider.name}} | + +{{:: 'view' | translate}} | ++ + | {{:: 'view' | translate}} | ++ |
|
+
+
+
+
+
+ |
+ |||||
|---|---|---|---|---|---|
| {{:: 'name' | translate}} | +{{:: 'id' | translate}} | +{{:: 'provider' | translate}} | +{{:: 'priority' | translate}} | +{{:: 'actions' | translate}} | +|
| {{instance.name}} | +{{instance.id}} | +{{instance.providerId}} | +{{instance.config['priority'][0]}} | +{{:: 'edit' | translate}} | +{{:: 'delete' | translate}} | +
| {{:: 'type' | translate}} | +{{:: 'kid' | translate}} | +{{:: 'provider' | translate}} | +{{:: 'publicKey' | translate}} | +{{:: 'certificate' | translate}} | +||
|---|---|---|---|---|---|---|
| {{key.type}} | +{{key.kid}} | +{{key.provider.name}} | +{{:: 'view' | translate}} | ++ | {{:: 'view' | translate}} | ++ |