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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • unbindURI

      public static WellFormedName unbindURI​(java.lang.String uri) throws java.text.ParseException
      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

      public static WellFormedName unbindFS​(java.lang.String fs) throws java.text.ParseException
      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