Package gov.nist.secauto.cpe.naming
Class CPENameUnbinder
java.lang.Object
gov.nist.secauto.cpe.naming.CPENameUnbinder
public class CPENameUnbinder
extends java.lang.Object
The CPENameUnBinder class is a simple implementation of the CPE Name unbinding algorithm, as
specified in the CPE Naming Standard version 2.3.
- Author:
- Joshua Kraunelis, David Waltermire
- See Also:
- NISTIR 7695 Section 6.1.3, NISTIR 7695 Section 6.2.3
-
Method Summary
Modifier and Type Method Description static WellFormedName
unbindFS(java.lang.String fs)
Top level function to unbind a formatted string to WFN.static WellFormedName
unbindURI(java.lang.String uri)
Top level function used to unbind a URI to a WFN.
-
Method Details
-
unbindURI
Top level function used to unbind a URI to a WFN.- Parameters:
uri
- String representing the URI to be unbound- Returns:
- WellFormedName representing the unbound URI
- Throws:
java.text.ParseException
- if the provided uri is invalid
-
unbindFS
Top level function to unbind a formatted string to WFN.- Parameters:
fs
- Formatted string to unbind- Returns:
- WellFormedName representing the unbound formatted string
- Throws:
java.text.ParseException
- if the fs argument is malformed
-