-
Notifications
You must be signed in to change notification settings - Fork 2
/
IKey.xml
247 lines (240 loc) · 14.6 KB
/
IKey.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<Type Name="IKey" FullName="Java.Security.IKey">
<TypeSignature Language="C#" Value="public interface IKey : IDisposable, Java.Interop.IJavaPeerable, Java.IO.ISerializable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IKey implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.IO.ISerializable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Security.IKey" />
<TypeSignature Language="F#" Value="type IKey = interface
 interface ISerializable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.IO.ISerializable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/security/Key", "", "Java.Security.IKeyInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/security/Key", "", "Java.Security.IKeyInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>The Key interface is the top-level interface for all keys.</summary>
<remarks>
<para>The Key interface is the top-level interface for all keys. It
defines the functionality shared by all key objects. All keys
have three characteristics:
<UL>
<LI>An Algorithm</para>
<para>This is the key algorithm for that key. The key algorithm is usually
an encryption or asymmetric operation algorithm (such as DSA or
RSA), which will work with those algorithms and with related
algorithms (such as MD5 with RSA, SHA-1 with RSA, Raw DSA, etc.)
The name of the algorithm of a key is obtained using the
<c>#getAlgorithm() getAlgorithm</c> method.
<LI>An Encoded Form</para>
<para>This is an external encoded form for the key used when a standard
representation of the key is needed outside the Java Virtual Machine,
as when transmitting the key to some other party. The key
is encoded according to a standard format (such as
X.509 <c>SubjectPublicKeyInfo</c> or PKCS#8), and
is returned using the <c>#getEncoded() getEncoded</c> method.
Note: The syntax of the ASN.1 type <c>SubjectPublicKeyInfo</c>
is defined as follows:</para>
<code lang="text/java">SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING }
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL }
</code>
<para>For more information, see
<see href="http://tools.ietf.org/html/rfc5280">RFC 5280:
Internet X.509 Public Key Infrastructure Certificate and CRL Profile</see>.
<LI>A Format</para>
<para>This is the name of the format of the encoded key. It is returned
by the <c>#getFormat() getFormat</c> method.
</UL>
Keys are generally obtained through key generators, certificates,
key stores or other classes used to manage keys.
Keys may also be obtained from key specifications (transparent
representations of the underlying key material) through the use of a key
factory (see <c>KeyFactory</c>).</para>
<para>A Key should use KeyRep as its serialized representation.
Note that a serialized Key may contain sensitive information
which should not be exposed in untrusted environments. See the
<see href="https://developer.android.com//../specs/serialization/security.html">
Security Appendix</see>
of the Serialization Specification for more information.</para>
<para>Added in 1.1.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/Key" title="Reference documentation">Java documentation for <code>java.security.Key</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="Algorithm">
<MemberSignature Language="C#" Value="public string? Algorithm { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Algorithm" />
<MemberSignature Language="DocId" Value="P:Java.Security.IKey.Algorithm" />
<MemberSignature Language="F#" Value="member this.Algorithm : string" Usage="Java.Security.IKey.Algorithm" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAlgorithm", "()Ljava/lang/String;", "GetGetAlgorithmHandler:Java.Security.IKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAlgorithm", "()Ljava/lang/String;", "GetGetAlgorithmHandler:Java.Security.IKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the name of the algorithm of this key.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Format">
<MemberSignature Language="C#" Value="public string? Format { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Format" />
<MemberSignature Language="DocId" Value="P:Java.Security.IKey.Format" />
<MemberSignature Language="F#" Value="member this.Format : string" Usage="Java.Security.IKey.Format" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getFormat", "()Ljava/lang/String;", "GetGetFormatHandler:Java.Security.IKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getFormat", "()Ljava/lang/String;", "GetGetFormatHandler:Java.Security.IKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the name of the format used to encode this key, or <c>null</c>
if it can not be encoded.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="GetEncoded">
<MemberSignature Language="C#" Value="public byte[]? GetEncoded ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] GetEncoded() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.IKey.GetEncoded" />
<MemberSignature Language="F#" Value="abstract member GetEncoded : unit -> byte[]" Usage="iKey.GetEncoded " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getEncoded", "()[B", "GetGetEncodedHandler:Java.Security.IKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getEncoded", "()[B", "GetGetEncodedHandler:Java.Security.IKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the key in its primary encoding format, or null
if this key does not support encoding.</summary>
<returns>the encoded key, or null if the key does not support
encoding.</returns>
<remarks>
<para>Returns the key in its primary encoding format, or null
if this key does not support encoding.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/Key#getEncoded()" title="Reference documentation">Java documentation for <code>java.security.Key.getEncoded()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SerialVersionUID">
<MemberSignature Language="C#" Value="public const long SerialVersionUID = 6603384152749567654;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int64 SerialVersionUID = (6603384152749567654)" />
<MemberSignature Language="DocId" Value="F:Java.Security.IKey.SerialVersionUID" />
<MemberSignature Language="F#" Value="val mutable SerialVersionUID : int64" Usage="Java.Security.IKey.SerialVersionUID" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("serialVersionUID")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("serialVersionUID")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<MemberValue>6603384152749567654</MemberValue>
<Docs>
<summary>The class fingerprint that is set to indicate
serialization compatibility with a previous
version of the class.</summary>
<remarks>
<para>The class fingerprint that is set to indicate
serialization compatibility with a previous
version of the class.</para>
<para>This member is deprecated. A <c>serialVersionUID</c> field in an interface is
ineffectual. Do not use; no replacement.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/Key#serialVersionUID" title="Reference documentation">Java documentation for <code>java.security.Key.serialVersionUID</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>