Package de.gematik.idp.data
Class IdpKeyDescriptor
java.lang.Object
de.gematik.idp.data.IdpKeyDescriptor
- All Implemented Interfaces:
org.jose4j.json.internal.json_simple.JSONAware
- Direct Known Subclasses:
IdpEccKeyDescriptor,IdpRsaKeyDescriptor
public class IdpKeyDescriptor
extends Object
implements org.jose4j.json.internal.json_simple.JSONAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IdpKeyDescriptorconstructFromX509Certificate(X509Certificate certificate) static IdpKeyDescriptorconstructFromX509Certificate(X509Certificate certificate, Optional<String> keyId, boolean addX5C) static String[]getCertArray(X509Certificate certificate) static StringgetKeyType(X509Certificate certificate)
-
Constructor Details
-
IdpKeyDescriptor
public IdpKeyDescriptor()
-
-
Method Details
-
getCertArray
-
constructFromX509Certificate
-
constructFromX509Certificate
public static IdpKeyDescriptor constructFromX509Certificate(X509Certificate certificate, Optional<String> keyId, boolean addX5C) -
getKeyType
-
toJSONString
- Specified by:
toJSONStringin interfaceorg.jose4j.json.internal.json_simple.JSONAware
-