This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include subentryNameForm definition (X.501)
- Loading branch information
Jesse Coretta
authored and
Jesse Coretta
committed
Oct 18, 2024
1 parent
7efc010
commit 1917a7d
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package x501 | ||
|
||
type NameFormDefinitions []NameFormDefinition | ||
type NameFormDefinition string | ||
|
||
func (r NameFormDefinitions) Len() int { | ||
return len(r) | ||
} | ||
|
||
var AllNameForms NameFormDefinitions | ||
var SubentryNameForm NameFormDefinition | ||
|
||
func (r NameFormDefinition) String() string { | ||
return string(r) | ||
} | ||
|
||
func init() { | ||
|
||
SubentryNameForm = NameFormDefinition(`( 2.5.15.16 NAME 'subentryNameForm' OC subentry MUST cn X-ORIGIN 'X.501' )`) | ||
AllNameForms = NameFormDefinitions{ | ||
SubentryNameForm, | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters