2006-01-04 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / Mono.Security / Mono.Security.X509.Extensions / AuthorityKeyIdentifierExtension.cs
index a50d767302e6c83a10d872e85d857c0ec1eeaa0e..193014698225489d57e5ef6b551652569b654e8d 100644 (file)
@@ -4,9 +4,7 @@
 // Author:
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
-// (C) 2004 Novell (http://www.novell.com)
-//
-
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -88,6 +86,14 @@ namespace Mono.Security.X509.Extensions {
                        get { return "Authority Key Identifier"; }
                }
 
+               public byte[] Identifier {
+                       get {
+                               if (aki == null)
+                                       return null;
+                               return (byte[]) aki.Clone (); 
+                       }
+               }
+
                public override string ToString () 
                {
                        StringBuilder sb = new StringBuilder ();