rdn.go 883 B

123456789101112131415161718192021222324252627
  1. /*
  2. * ZLint Copyright 2023 Regents of the University of Michigan
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy
  6. * of the License at http://www.apache.org/licenses/LICENSE-2.0
  7. *
  8. * Unless required by applicable law or agreed to in writing, software
  9. * distributed under the License is distributed on an "AS IS" BASIS,
  10. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  11. * implied. See the License for the specific language governing
  12. * permissions and limitations under the License.
  13. */
  14. package util
  15. import "github.com/zmap/zcrypto/encoding/asn1"
  16. type AttributeTypeAndRawValue struct {
  17. Type asn1.ObjectIdentifier
  18. Value asn1.RawValue
  19. }
  20. type AttributeTypeAndRawValueSET []AttributeTypeAndRawValue
  21. type RawRDNSequence []AttributeTypeAndRawValueSET