package at.gv.egiz.eaaf.modules.pvp2.api.credential; import javax.annotation.Nonnull; import org.opensaml.security.x509.X509Credential; public interface EaafX509Credential extends X509Credential { /** * Get the signature algorithm that has to be used with this credential. * * @return Signature-algorithm identifier */ @Nonnull String getSignatureAlgorithmForSigning(); /** * Set the signature algorithm that has to be used with this credential. * * @param sigAlg Signature-algorithm identifier */ void setSignatureAlgorithmForSigning(@Nonnull String sigAlg); /** * Get the key-encryption algorithm that has to be used with this credential * in case of data-encryption operations. * * @return Key-encryption algorithm-identifier */ @Nonnull String getKeyEncryptionAlgorithmForDataEncryption(); /** * Set the key-encryption algorithm that has to be used with this credential * in case of data-encryption operations. * * @param sigAlg Key-encryption algorithm-identifier */ void setKeyEncryptionAlgorithmForDataEncryption(@Nonnull String sigAlg); }