IPublicKey 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
公钥。
[Android.Runtime.Register("java/security/PublicKey", "", "Java.Security.IPublicKeyInvoker")]
public interface IPublicKey : IDisposable, Java.Interop.IJavaPeerable, Java.Security.IKey
[<Android.Runtime.Register("java/security/PublicKey", "", "Java.Security.IPublicKeyInvoker")>]
type IPublicKey = interface
interface IKey
interface ISerializable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- 派生
- 属性
- 实现
注解
公钥。 此接口不包含任何方法或常量。 它只是为所有公钥接口分组(并提供类型安全性)。
注意:专用公钥接口扩展此接口。 请参阅 DSAPublicKey 接口, java.security.interfaces例如。
在 1.1 中添加。
适用于 . 的 java.security.PublicKeyJava 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
字段
| SerialVersionUID |
设置为指示与类早期版本的序列化兼容性的类指纹。 |
属性
| Algorithm |
返回此密钥的算法的名称。 (继承自 IKey) |
| Format |
返回用于对此密钥进行编码的格式的名称,或者 |
| Handle |
获取基础 Android 对象的 JNI 值。 (继承自 IJavaObject) |
| JniIdentityHashCode |
返回包装实例的值 |
| JniManagedPeerState |
托管对等方的状态。 (继承自 IJavaPeerable) |
| JniPeerMembers |
成员访问和调用支持。 (继承自 IJavaPeerable) |
| PeerReference |
返回 JniObjectReference 包装的 Java 对象实例。 (继承自 IJavaPeerable) |
方法
| Disposed() |
在释放实例时调用。 (继承自 IJavaPeerable) |
| DisposeUnlessReferenced() |
如果没有对此实例的未完成引用,则调用 |
| Finalized() |
在实例完成时调用。 (继承自 IJavaPeerable) |
| GetEncoded() |
返回其主要编码格式的键,如果此键不支持编码,则返回 null。 (继承自 IKey) |
| SetJniIdentityHashCode(Int32) |
设置由 |
| SetJniManagedPeerState(JniManagedPeerStates) |
公钥。 (继承自 IJavaPeerable) |
| SetPeerReference(JniObjectReference) |
设置由 |
| UnregisterFromRuntime() |
取消注册此实例,以便运行时不会从将来 Java.Interop.JniRuntime+JniValueManager.PeekValue 的调用中返回它。 (继承自 IJavaPeerable) |
扩展方法
| JavaCast<TResult>(IJavaObject) |
执行 Android 运行时检查的类型转换。 |
| JavaCast<TResult>(IJavaObject) |
公钥。 |
| GetJniTypeName(IJavaPeerable) |
公钥。 |