Class CPENameBinder

java.lang.Object
gov.nist.secauto.cpe.naming.CPENameBinder

public class CPENameBinder
extends java.lang.Object
The CPENameBinder class is a simple implementation of the CPE Name binding algorithm, as specified in the CPE Naming Standard version 2.3.
Author:
Joshua Kraunelis, David Waltermire
See Also:
NISTIR 7695 Section 6.1.2, NISTIR 7695 Section 6.2.2
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static WellFormedName.Attribute[] URI_ATTRIBUTES  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String bindToFS​(WellFormedName wfn)
    Top-level function used to bind WFN w to formatted string.
    static java.lang.String bindToURI​(WellFormedName wfn)
    Binds a WellFormedName object to a URI.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • bindToURI

      public static java.lang.String bindToURI​(WellFormedName wfn)
      Binds a WellFormedName object to a URI.
      Parameters:
      wfn - WellFormedName to be bound to URI
      Returns:
      URI binding of WFN
    • bindToFS

      public static java.lang.String bindToFS​(WellFormedName wfn)
      Top-level function used to bind WFN w to formatted string.
      Parameters:
      wfn - WellFormedName to bind
      Returns:
      Formatted String