public interface HTTPService
| Modifier and Type | Method and Description | 
|---|---|
String | 
postSwid(String clientCertificatePath,
        String clientCertificatePassword,
        String passwordSeed,
        List<String> swidFiles,
        Action action,
        TagType type)  | 
String | 
sendSWIDData(org.apache.http.impl.client.CloseableHttpClient client,
            String token,
            List<String> swidFiles,
            Action action,
            TagType type)
Insert or Update end points 
 | 
String sendSWIDData(org.apache.http.impl.client.CloseableHttpClient client, String token, List<String> swidFiles, Action action, TagType type) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, KeyManagementException, UnrecoverableKeyException, TransformerException
client - the http clienttoken - the JSON web tokenswidFiles - the location of input SWID tags to POSTaction - the action either insert or update to performs on the SWID tagstype - the SWID tag typeKeyStoreException - if there are errors with loading client certificateNoSuchAlgorithmException - if there are errorsCertificateException - if there are errors with loading client certificateIOException - if there are errors with read or writeKeyManagementException - if there are errors with certificateUnrecoverableKeyException - if there are errors with loading client certificateTransformerException - if error with transformer factoryString postSwid(String clientCertificatePath, String clientCertificatePassword, String passwordSeed, List<String> swidFiles, Action action, TagType type) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, KeyManagementException, UnrecoverableKeyException, TransformerException
clientCertificatePath - location of client keystoreclientCertificatePassword - password of client keystorepasswordSeed - the password seedswidFiles - the list of SWID tags to POSTaction - the action either insert or update to performs on the SWID tagstype - the SWID tag typeKeyStoreException - if there are errors with loading client certificateNoSuchAlgorithmException - if there are errorsCertificateException - if there are errors with loading client certificateIOException - if there are errors with read or writeKeyManagementException - if there are errors with certificateUnrecoverableKeyException - if there are errors with loading client certificateTransformerException - if error with transformer factoryCopyright © 2020 National Institute of Standards and Technology. All rights reserved.