SubjectIdentifierOrKey.cs 682 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // SubjectIdentifierOrKey.cs - System.Security.Cryptography.Pkcs.SubjectIdentifierOrKey
  3. //
  4. // Author:
  5. // Sebastien Pouliot ([email protected])
  6. //
  7. // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
  8. //
  9. #if NET_1_2
  10. using System;
  11. namespace System.Security.Cryptography.Pkcs {
  12. public class SubjectIdentifierOrKey {
  13. private SubjectIdentifierOrKeyType _type;
  14. private object _value;
  15. internal SubjectIdentifierOrKey (SubjectIdentifierOrKeyType type, object value)
  16. {
  17. _type = type;
  18. _value = value;
  19. }
  20. // properties
  21. public SubjectIdentifierOrKeyType Type {
  22. get { return _type; }
  23. }
  24. public object Value {
  25. get { return _value; }
  26. }
  27. }
  28. }
  29. #endif