public class ECUtil
extends java.lang.Object
Constructor and Description |
---|
ECUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDigestAlgForECCAlgorithm(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate signerCertificate,
SignatureAlg signatureAlg)
Check if both the key length and the signature algorithm hash suit the requirements provided in RFC 5656, 6.2.1.
|
static SignatureAlg |
getConvenientECSignatureAlgForECCertificate(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate signerCertificate) |
public static void checkDigestAlgForECCAlgorithm(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate signerCertificate, SignatureAlg signatureAlg) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
signerCertificate
- The certificate to be used for signing.signatureAlg
- The algorithm to be used in signing.tr.gov.tubitak.uekae.esya.api.common.ESYAException
- Exception explaining that key and digest lengths do not meet the minimum requirements.public static SignatureAlg getConvenientECSignatureAlgForECCertificate(tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate signerCertificate) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAException
Copyright © 2025. All rights reserved.