Пример #1
0
 Boolean equals(X509Attribute other)
 {
     return(other != null && (ReferenceEquals(this, other) || other.Oid.Value == Oid.Value));
 }
Пример #2
0
 /// <summary>
 /// Adds an <see cref="X509Attribute"/> object to the <see cref="X509AttributeCollection"/> object.
 /// </summary>
 /// <remarks>Use this method to add an <see cref="X509Attribute"/> object to an existing collection at the current location.</remarks>
 /// <param name="entry">The <see cref="X509Attribute"/> object to add to the collection.</param>
 /// <returns>The index of the added <see cref="X509Attribute"/> object.</returns>
 public Int32 Add(X509Attribute entry)
 {
     _list.Add(entry);
     return(_list.Count);
 }